svn commit: r201495 - head/sys/kern

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Jan 4 12:39:42 UTC 2010


Author: trasz
Date: Mon Jan  4 12:39:42 2010
New Revision: 201495
URL: http://svn.freebsd.org/changeset/base/201495

Log:
  Fix comments.

Modified:
  head/sys/kern/subr_acl_nfs4.c

Modified: head/sys/kern/subr_acl_nfs4.c
==============================================================================
--- head/sys/kern/subr_acl_nfs4.c	Mon Jan  4 12:32:38 2010	(r201494)
+++ head/sys/kern/subr_acl_nfs4.c	Mon Jan  4 12:39:42 2010	(r201495)
@@ -985,7 +985,7 @@ _acls_are_equal(const struct acl *a, con
 }
 
 /*
- * 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 *ac
 	 *
 	 * 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);


More information about the svn-src-all mailing list