fs: make posix_acl_create more useful
[deliverable/linux.git] / fs / f2fs / acl.c
index d0fc287efeff4511fa7f4e84369cf77f0ae31538..45e84303c2471e6c68b6e6ebed8d9fa15337b855 100644 (file)
@@ -285,7 +285,7 @@ int f2fs_init_acl(struct inode *inode, struct inode *dir, struct page *ipage)
                if (error)
                        goto cleanup;
        }
-       error = posix_acl_create(&acl, GFP_KERNEL, &inode->i_mode);
+       error = __posix_acl_create(&acl, GFP_KERNEL, &inode->i_mode);
        if (error < 0)
                return error;
        if (error > 0)
@@ -311,7 +311,7 @@ int f2fs_acl_chmod(struct inode *inode)
        if (IS_ERR(acl) || !acl)
                return PTR_ERR(acl);
 
-       error = posix_acl_chmod(&acl, GFP_KERNEL, mode);
+       error = __posix_acl_chmod(&acl, GFP_KERNEL, mode);
        if (error)
                return error;
 
This page took 0.024436 seconds and 5 git commands to generate.