svn commit: r228952 - head/sys/sys

Sergey Kandaurov pluknet at FreeBSD.org
Thu Dec 29 12:28:06 UTC 2011


Author: pluknet
Date: Thu Dec 29 12:28:05 2011
New Revision: 228952
URL: http://svn.freebsd.org/changeset/base/228952

Log:
  Update LOCKLEAF comment: it should say "vnode".
  Inspired by PR docs/11596.

Modified:
  head/sys/sys/namei.h

Modified: head/sys/sys/namei.h
==============================================================================
--- head/sys/sys/namei.h	Thu Dec 29 11:38:02 2011	(r228951)
+++ head/sys/sys/namei.h	Thu Dec 29 12:28:05 2011	(r228952)
@@ -107,7 +107,7 @@ struct nameidata {
 /*
  * namei operational modifier flags, stored in ni_cnd.flags
  */
-#define	LOCKLEAF	0x0004	/* lock inode on return */
+#define	LOCKLEAF	0x0004	/* lock vnode on return */
 #define	LOCKPARENT	0x0008	/* want parent vnode returned locked */
 #define	WANTPARENT	0x0010	/* want parent vnode returned unlocked */
 #define	NOCACHE		0x0020	/* name must not be left in cache */


More information about the svn-src-all mailing list