summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_acl.c
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-04-10 06:21:04 +0400
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-18 05:57:57 +0400
commit5ca1f261a08d5cff5f29eaa0887b59baae2ae7f7 (patch)
tree4973597a434d7b4422f102097010e35020b317e0 /fs/xfs/xfs_acl.c
parent0c928299676c8df2b00e75d5691cd4846e6c0868 (diff)
downloadlinux-5ca1f261a08d5cff5f29eaa0887b59baae2ae7f7.tar.xz
[XFS] Catch errors from xfs_acl_vremove().
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>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
-rw-r--r--fs/xfs/xfs_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c
index 98b515d39187..8e130b9720ae 100644
--- 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: