diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2010-01-04 12:39:42 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2010-01-04 12:39:42 +0000 |
commit | 922ec47140409021d5763f9d1353bcc00922e5a4 (patch) | |
tree | 77fc13ea24f7880502935a8cc7ae3d203ce743a7 | |
parent | 19d43a4c5f47437d5316bf21e0404308d960af37 (diff) |
Notes
-rw-r--r-- | sys/kern/subr_acl_nfs4.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/subr_acl_nfs4.c b/sys/kern/subr_acl_nfs4.c index 19ac1b021d8b..1a015772588b 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); |