Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
if (ecryptfs_file_to_private(file))
lower_file = ecryptfs_file_to_lower(file);
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;
}
rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
return rc;
}