提交 c2e3f5d5 编写于 作者: A Al Viro

ecryptfs: ->f_op is never NULL

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 765d3682
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册