aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index e16680138323..d54301219d04 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -691,7 +691,7 @@ static struct file *__dentry_open(struct dentry *dentry, struct vfsmount *mnt,
691 691
692 f->f_op = fops_get(inode->i_fop); 692 f->f_op = fops_get(inode->i_fop);
693 693
694 error = security_dentry_open(f, cred); 694 error = security_file_open(f, cred);
695 if (error) 695 if (error)
696 goto cleanup_all; 696 goto cleanup_all;
697 697