vn_fullpath(9) does not assume vp is locked by the caller now.

This commit is contained in:
Hiroki Sato 2008-11-23 20:02:58 +00:00
parent d385c6dd7e
commit cc7d6b558e

View File

@ -27,7 +27,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd January 11, 2004 .Dd November 23, 2008
.Dt VN_FULLPATH 9 .Dt VN_FULLPATH 9
.Os .Os
.Sh NAME .Sh NAME
@ -46,7 +46,7 @@ The
function makes a function makes a
.Dq "best effort" .Dq "best effort"
attempt to generate a string pathname for attempt to generate a string pathname for
the passed (locked) vnode; the resulting path, if any, will be relative to the passed vnode; the resulting path, if any, will be relative to
the root directory of the process associated with the passed thread pointer. the root directory of the process associated with the passed thread pointer.
The The
.Fn vn_fullpath .Fn vn_fullpath
@ -73,7 +73,7 @@ The thread performing the call; this pointer will be dereferenced to find
the process and its file descriptor structure, in order to identify the the process and its file descriptor structure, in order to identify the
root vnode to use. root vnode to use.
.It Fa vp .It Fa vp
The vnode to search for; must be locked by the caller. The vnode to search for. No need to be locked by the caller.
.It Fa retbuf .It Fa retbuf
Pointer to a Pointer to a
.Vt "char *" .Vt "char *"