]> Pileus Git - ~andy/linux/blobdiff - fs/jffs2/acl.c
fs: make posix_acl_chmod more useful
[~andy/linux] / fs / jffs2 / acl.c
index 223283c301116f3d8d88cb70cf30aa030a54c456..5853969a51bc150981fc41995e82ab65e2bd0637 100644 (file)
@@ -335,7 +335,7 @@ int jffs2_acl_chmod(struct inode *inode)
        acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS);
        if (IS_ERR(acl) || !acl)
                return PTR_ERR(acl);
-       rc = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode);
+       rc = __posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode);
        if (rc)
                return rc;
        rc = jffs2_set_acl(inode, ACL_TYPE_ACCESS, acl);