]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/xfs_acl.c
[XFS] Switches xfs_vn_listxattr to set it's put_listent callback directly
[linux-2.6-omap-h63xx.git] / fs / xfs / xfs_acl.c
index ebee3a4f703aa5128756e950631a3bd3f50e7103..93057af2fe3df6c77dfdddb05891d205cfc544ad 100644 (file)
@@ -341,8 +341,7 @@ xfs_acl_iaccess(
 
        /* If the file has no ACL return -1. */
        rval = sizeof(xfs_acl_t);
-       if (xfs_attr_fetch(ip, &acl_name, (char *)acl, &rval,
-                                       ATTR_ROOT | ATTR_KERNACCESS)) {
+       if (xfs_attr_fetch(ip, &acl_name, (char *)acl, &rval, ATTR_ROOT)) {
                _ACL_FREE(acl);
                return -1;
        }