From owner-svn-src-all@FreeBSD.ORG Mon Jan 4 12:39:42 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B3C106568B; Mon, 4 Jan 2010 12:39:42 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C9FB98FC14; Mon, 4 Jan 2010 12:39:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o04Cdg59060469; Mon, 4 Jan 2010 12:39:42 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o04CdgGR060467; Mon, 4 Jan 2010 12:39:42 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201001041239.o04CdgGR060467@svn.freebsd.org> From: Edward Tomasz Napierala Date: Mon, 4 Jan 2010 12:39:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201495 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 12:39:42 -0000 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);