diff options
author | marcus <marcus@FreeBSD.org> | 2008-12-12 00:57:38 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2008-12-12 00:57:38 +0000 |
commit | 91e684d7f9814a84afd87b2fc49ddcf6b6099b3c (patch) | |
tree | ff54050fd05bb494abfb240c2cb4731c086eb403 /usr.sbin/Makefile | |
parent | 509ce401ea8d49b634f2041c35c407a0d4e7d980 (diff) | |
download | FreeBSD-src-91e684d7f9814a84afd87b2fc49ddcf6b6099b3c.zip FreeBSD-src-91e684d7f9814a84afd87b2fc49ddcf6b6099b3c.tar.gz |
Add a new VOP, VOP_VPTOCNP, which translates a vnode to its component name
on a best-effort basis. Teach vn_fullpath to use this new VOP if a
regular VFS cache lookup fails. This VOP is designed to supplement the
VFS cache to provide a better chance that a vnode-to-name lookup will
succeed.
Currently, an implementation for devfs is being committed. The default
implementation is to return ENOENT.
A big thanks to kib for the mentorship on this, and to pho for running it
through his stress test suite.
Reviewed by: arch
Approved by: kib
Diffstat (limited to 'usr.sbin/Makefile')
0 files changed, 0 insertions, 0 deletions