]> Pileus Git - ~andy/linux/blobdiff - fs/open.c
SELinux: rename dentry_open to file_open
[~andy/linux] / fs / open.c
index 5720854156dbd61e28598da83a529294401eb119..5eccdcea2d1b977dde9482cabf8976e54e172bf8 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -681,7 +681,7 @@ static struct file *__dentry_open(struct dentry *dentry, struct vfsmount *mnt,
 
        f->f_op = fops_get(inode->i_fop);
 
-       error = security_dentry_open(f, cred);
+       error = security_file_open(f, cred);
        if (error)
                goto cleanup_all;