summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-03-08 19:07:44 +0000
committermarcus <marcus@FreeBSD.org>2009-03-08 19:07:44 +0000
commit92da1fbd23d9243e2b4acb8589d3bcc85036b853 (patch)
tree34784604736e5aac7f7ffa0d02183381d0ff39a5 /share
parent7b4bc2108766a6b51bf039618e4c421baa809129 (diff)
downloadFreeBSD-src-92da1fbd23d9243e2b4acb8589d3bcc85036b853.zip
FreeBSD-src-92da1fbd23d9243e2b4acb8589d3bcc85036b853.tar.gz
Document the new default implementation of VOP_VPTOCNP(9).
Approved by: kib
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/VOP_VPTOCNP.98
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man9/VOP_VPTOCNP.9 b/share/man/man9/VOP_VPTOCNP.9
index 128a757..295bab9 100644
--- a/share/man/man9/VOP_VPTOCNP.9
+++ b/share/man/man9/VOP_VPTOCNP.9
@@ -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
OpenPOWER on IntegriCloud