From owner-svn-src-head@freebsd.org Fri Mar 2 00:56:52 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8809AF3986F; Fri, 2 Mar 2018 00:56:52 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7C0E83110; Fri, 2 Mar 2018 00:56:51 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w220ugM9027821; Thu, 1 Mar 2018 16:56:42 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w220ugMV027820; Thu, 1 Mar 2018 16:56:42 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201803020056.w220ugMV027820@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r330256 - head/sys/sys In-Reply-To: <201803012238.w21McL5j043345@repo.freebsd.org> To: Eitan Adler Date: Thu, 1 Mar 2018 16:56:42 -0800 (PST) CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2018 00:56:52 -0000 > Author: eadler > Date: Thu Mar 1 22:38:21 2018 > New Revision: 330256 > URL: https://svnweb.freebsd.org/changeset/base/330256 > > Log: > sys/sys: Use a more common spelling of 'dirent' Actually, correct missed rename of direct to dirent, the name of this structure in 4.2/4.3 was direct, posix renamed it to dirent. The comment probably got missed when the rest of the file was changed. > Submitted by: Domagoj Stolfa > MFC After: 3 days > > Modified: > head/sys/sys/dirent.h > > Modified: head/sys/sys/dirent.h > ============================================================================== > --- head/sys/sys/dirent.h Thu Mar 1 22:04:51 2018 (r330255) > +++ head/sys/sys/dirent.h Thu Mar 1 22:38:21 2018 (r330256) > @@ -112,7 +112,7 @@ struct freebsd11_dirent { > > /* > * The _GENERIC_DIRSIZ macro gives the minimum record length which will hold > - * the directory entry. This returns the amount of space in struct direct > + * the directory entry. This returns the amount of space in struct dirent > * without the d_name field, plus enough space for the name with a terminating > * null byte (dp->d_namlen+1), rounded up to a 8 byte boundary. > * > > -- Rod Grimes rgrimes@freebsd.org