diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2006-06-23 22:20:40 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2006-06-23 22:20:40 +0000 |
commit | 351550b5b41dbb080576cd5472d08ac390823420 (patch) | |
tree | 0f6155cf3f25ebef59454f9ab65d0f27f6c00c1b /share/man/man9 | |
parent | 9dca7703cc8f5d769e9db3a3d67d32f60b5a1d6f (diff) |
namei() only returns locked vnodes if LOCKLEAF is set, be more clear
about this
ok pedro
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/namei.9 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9 index 5542016209e..a8940fff23d 100644 --- a/share/man/man9/namei.9 +++ b/share/man/man9/namei.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: namei.9,v 1.11 2005/06/15 17:51:35 millert Exp $ +.\" $OpenBSD: namei.9,v 1.12 2006/06/23 22:20:39 sturm Exp $ .\" $NetBSD: namei.9,v 1.9 2003/05/06 10:46:44 jmmv Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -192,7 +192,7 @@ Pathname lookups cannot be done in interrupt context. .Sh FUNCTIONS .Bl -tag -width compact .It Fn namei "ndp" -Convert a pathname into a pointer to a locked inode. +Convert a pathname into a pointer to a vnode. The pathname is specified by .Em ndp-\*[Gt]ni_dirp and is of length @@ -203,7 +203,7 @@ flags defines whether the name in .Em ndp-\*[Gt]ni_dirp is an address in kernel space (UIO_SYSSPACE) or an address in user space (UIO_USERSPACE). -The locked vnode for the pathname is referenced and returned in +The vnode for the pathname is referenced and returned in .Em ndp-\*[Gt]ni_vp . .Pp If @@ -212,6 +212,8 @@ has the FOLLOW flag set then symbolic links are followed when they occur at the end of the name translation process. Symbolic links are always followed for all other pathname components other than the last. +.Pp +If the LOCKLEAF flag is set, a locked vnode is returned. .It Fn lookup "ndp" Search for a pathname. This is a very central and rather complicated routine. |