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

Commit c2e3f5d5 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 765d3682
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}