Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ecryptfs: ->f_op is never NULL

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro c2e3f5d5 765d3682

+1 -1
+1 -1
fs/ecryptfs/file.c
··· 327 327 struct file *lower_file = ecryptfs_file_to_lower(file); 328 328 long rc = -ENOIOCTLCMD; 329 329 330 - if (lower_file->f_op && lower_file->f_op->compat_ioctl) 330 + if (lower_file->f_op->compat_ioctl) 331 331 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg); 332 332 return rc; 333 333 }