Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdd35366 authored by Al Viro's avatar Al Viro
Browse files

ecryptfs: ->f_op is never NULL



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 27ac0ffe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}