aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-10-27 05:39:17 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-10-27 05:39:17 +0000
commitb6e04729874433fc5aadac633fabd32ae58ef915 (patch)
tree0f1f56963e687890bb7953929c89b6e0a9e3f478 /sys/ufs
parentac8b3dd7dc8ea6ce31051ab369138eba70b8b9e5 (diff)
Notes
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_acl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_acl.c b/sys/ufs/ufs/ufs_acl.c
index 56e48287b54ab..c5df402c8fc8a 100644
--- a/sys/ufs/ufs/ufs_acl.c
+++ b/sys/ufs/ufs/ufs_acl.c
@@ -417,9 +417,14 @@ ufs_setacl(ap)
* Attempting to delete a non-present default ACL
* will return success for portability purposes.
* (TRIX)
+ *
+ * XXX: Note that since we can't distinguish
+ * "that EA is not supported" from "that EA is not
+ * defined", the success case here overlaps the
+ * the ENOENT->EOPNOTSUPP case below.
*/
/* XXX: the ENOENT here will eventually be ENOATTR. */
- if (error == EINVAL)
+ if (error == ENOENT)
error = 0;
} else
error = vn_extattr_set(ap->a_vp, IO_NODELOCKED,