Document the new default implementation of VOP_VPTOCNP(9).

Approved by:	kib
This commit is contained in:
Joe Marcus Clarke 2009-03-08 19:07:44 +00:00
parent f0ffa08370
commit 74999b4cf2

View File

@ -57,7 +57,13 @@ The remaining size of the buffer.
.Pp
The default implementation of
.Nm
simply returns ENOENT.
scans through
.Fa vp Ns 's
parent directory looking for a dirent with a matching file number. If
.Fa vp
is not a directory, then
.Nm
returns ENOENT.
.Sh LOCKS
The vnode should be locked on entry and will still be locked on exit. The
parent directory vnode will be unlocked on a successful exit. However, it