author: Al Viro <viro@zeniv.linux.org.uk> 2018-07-10 13:25:29 -0400
committer: Al Viro <viro@zeniv.linux.org.uk> 2018-07-12 10:04:15 -0400
commit: e3f20ae21079ecac282df65d83865c5771f4bca0
parent: ae2bb293a3e8adbc54d08cede5afc22929030c03
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/open.c b/fs/open.c
index 0a9f00b7f3d5..4c65edefa487 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -776,7 +776,7 @@ static int do_dentry_open(struct file *f,
goto cleanup_all;
}
- error = security_file_open(f, f->f_cred);
+ error = security_file_open(f);
if (error)
goto cleanup_all;