summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_acl_nfs4.c
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2010-01-04 12:39:42 +0000
committertrasz <trasz@FreeBSD.org>2010-01-04 12:39:42 +0000
commit85a258e1b1f8cbec9ad6b354a5cf64af3aef0379 (patch)
tree77fc13ea24f7880502935a8cc7ae3d203ce743a7 /sys/kern/subr_acl_nfs4.c
parent0eb7553bed7514c081c3c6fd430d140bc5c3b121 (diff)
downloadFreeBSD-src-85a258e1b1f8cbec9ad6b354a5cf64af3aef0379.zip
FreeBSD-src-85a258e1b1f8cbec9ad6b354a5cf64af3aef0379.tar.gz
Fix comments.
Diffstat (limited to 'sys/kern/subr_acl_nfs4.c')
-rw-r--r--sys/kern/subr_acl_nfs4.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/subr_acl_nfs4.c b/sys/kern/subr_acl_nfs4.c
index 19ac1b0..1a01577 100644
--- a/sys/kern/subr_acl_nfs4.c
+++ b/sys/kern/subr_acl_nfs4.c
@@ -985,7 +985,7 @@ _acls_are_equal(const struct acl *a, const struct acl *b)
}
/*
- * This routine is used to determine whether to remove entry_type attribute
+ * This routine is used to determine whether to remove extended attribute
* that stores ACL contents.
*/
int
@@ -1004,9 +1004,8 @@ acl_nfs4_is_trivial(const struct acl *aclp, int file_owner_id)
*
* XXX: I guess there is a faster way to do this. However, even
* this slow implementation significantly speeds things up
- * for files that don't have any entry_type ACL entries - it's
- * critical for performance to not use EA when they are not
- * needed.
+ * for files that don't have non-trivial ACLs - it's critical
+ * for performance to not use EA when they are not needed.
*/
tmpaclp = acl_alloc(M_WAITOK | M_ZERO);
acl_nfs4_sync_mode_from_acl(&tmpmode, aclp);
OpenPOWER on IntegriCloud