fs: make posix_acl_create more useful
[deliverable/linux.git] / fs / jffs2 / acl.c
index 223283c301116f3d8d88cb70cf30aa030a54c456..4d6e31b19816be4304951a93a4b97da890a3033c 100644 (file)
@@ -295,7 +295,7 @@ int jffs2_init_acl_pre(struct inode *dir_i, struct inode *inode, umode_t *i_mode
                if (S_ISDIR(*i_mode))
                        set_cached_acl(inode, ACL_TYPE_DEFAULT, acl);
 
-               rc = posix_acl_create(&acl, GFP_KERNEL, i_mode);
+               rc = __posix_acl_create(&acl, GFP_KERNEL, i_mode);
                if (rc < 0)
                        return rc;
                if (rc > 0)
@@ -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);
This page took 0.024231 seconds and 5 git commands to generate.