Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 12:39:42 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201495 - head/sys/kern
Message-ID:  <201001041239.o04CdgGR060467@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001041239.o04CdgGR060467>