summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-09-02 17:31:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 02:39:12 -0400
commitc2e3f5d5f4620bb6568bc559f712ce80222e20cb (patch)
treeffc736e09e60a38947a3aa4723c353f2963e6e44 /fs/ecryptfs
parent765d368217715c794f767d396d8cea16502d823f (diff)
downloadop-kernel-dev-c2e3f5d5f4620bb6568bc559f712ce80222e20cb.zip
op-kernel-dev-c2e3f5d5f4620bb6568bc559f712ce80222e20cb.tar.gz
ecryptfs: ->f_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r--fs/ecryptfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c
index db0fad3..4ffa35e 100644
--- a/fs/ecryptfs/file.c
+++ b/fs/ecryptfs/file.c
@@ -327,7 +327,7 @@ ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
struct file *lower_file = ecryptfs_file_to_lower(file);
long rc = -ENOIOCTLCMD;
- if (lower_file->f_op && lower_file->f_op->compat_ioctl)
+ if (lower_file->f_op->compat_ioctl)
rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg);
return rc;
}
OpenPOWER on IntegriCloud