From bdd3536618443809d18868563eeafa63b9d29603 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 9 Nov 2013 22:19:48 -0500 Subject: [PATCH] ecryptfs: ->f_op is never NULL Signed-off-by: Al Viro --- fs/ecryptfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index 6b1cd2b0c75..2229a74aeee 100644 --- a/fs/ecryptfs/file.c +++ b/fs/ecryptfs/file.c @@ -318,7 +318,7 @@ ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) if (ecryptfs_file_to_private(file)) lower_file = ecryptfs_file_to_lower(file); - if (lower_file->f_op && lower_file->f_op->unlocked_ioctl) + if (lower_file->f_op->unlocked_ioctl) rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); return rc; } -- 2.43.2