projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs: make posix_acl_create more useful
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
xfs
/
xfs_acl.c
diff --git
a/fs/xfs/xfs_acl.c
b/fs/xfs/xfs_acl.c
index
370eb3e
..
057ae2d
100644
(file)
--- a/
fs/xfs/xfs_acl.c
+++ b/
fs/xfs/xfs_acl.c
@@
-297,12
+297,12
@@
xfs_inherit_acl(struct inode *inode, struct posix_acl *acl)
goto out;
}
goto out;
}
- error = posix_acl_create(&acl, GFP_KERNEL, &mode);
+ error =
__
posix_acl_create(&acl, GFP_KERNEL, &mode);
if (error < 0)
return error;
/*
if (error < 0)
return error;
/*
- * If posix_acl_create returns a positive value we need to
+ * If
__
posix_acl_create returns a positive value we need to
* inherit a permission that can't be represented using the Unix
* mode bits and we actually need to set an ACL.
*/
* inherit a permission that can't be represented using the Unix
* mode bits and we actually need to set an ACL.
*/
@@
-334,7
+334,7
@@
xfs_acl_chmod(struct inode *inode)
if (IS_ERR(acl) || !acl)
return PTR_ERR(acl);
if (IS_ERR(acl) || !acl)
return PTR_ERR(acl);
- error = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode);
+ error =
__
posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode);
if (error)
return error;
if (error)
return error;