]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_acl.c
[PATCH] merge open_namei() and do_filp_open()
[linux-2.6] / fs / xfs / xfs_acl.c
index 98b515d39187f892b71c1b289447c45e3d266bb2..8e130b9720ae8513d24a2307c5aba0a034718dac 100644 (file)
@@ -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: