projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c92829
)
[XFS] Catch errors from xfs_acl_vremove().
author
David Chinner
<dgc@sgi.com>
Thu, 10 Apr 2008 02:21:04 +0000
(12:21 +1000)
committer
Lachlan McIlroy
<lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:57:57 +0000
(11:57 +1000)
Removing an ACL can return an error. Propagate it.
SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30793a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_acl.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_acl.c
b/fs/xfs/xfs_acl.c
index 98b515d39187f892b71c1b289447c45e3d266bb2..8e130b9720ae8513d24a2307c5aba0a034718dac 100644
(file)
--- a/
fs/xfs/xfs_acl.c
+++ b/
fs/xfs/xfs_acl.c
@@
-324,7
+324,7
@@
xfs_acl_vset(
if (!basicperms) {
xfs_acl_set_attr(vp, xfs_acl, kind, &error);
} else {
- xfs_acl_vremove(vp, _ACL_TYPE_ACCESS);
+
error = -
xfs_acl_vremove(vp, _ACL_TYPE_ACCESS);
}
out: