Skip to content

Commit bdd3536

Browse files
author
Al Viro
committed
ecryptfs: ->f_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 27ac0ff commit bdd3536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ecryptfs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
318318

319319
if (ecryptfs_file_to_private(file))
320320
lower_file = ecryptfs_file_to_lower(file);
321-
if (lower_file->f_op && lower_file->f_op->unlocked_ioctl)
321+
if (lower_file->f_op->unlocked_ioctl)
322322
rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
323323
return rc;
324324
}

0 commit comments

Comments
 (0)