summaryrefslogtreecommitdiff
path: root/sys/modules/lua
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2021-06-29 22:34:05 +0000
committerdholland <dholland@NetBSD.org>2021-06-29 22:34:05 +0000
commit18a3dc4f4b3b7e967284cf52c1a6bcd225fd2fe3 (patch)
tree02bd073fdc142dc172abae3856777e4bd490fa41 /sys/modules/lua
parent0de14abf82c10da4ae8db9360ff2e004792a4148 (diff)
- Add a new vnode op: VOP_PARSEPATH.
- Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath. - Add a parsepath entry to every vnode ops table. VOP_PARSEPATH takes a directory vnode to be searched and a complete following path and chooses how much of that path to consume. To begin with, all parsepath calls are genfs_parsepath, which locates the first '/' as always. Note that the call doesn't take the whole struct componentname, only the string. The other bits of struct componentname should not be needed and there's no reason to cause potential complications by exposing them.
Diffstat (limited to 'sys/modules/lua')
0 files changed, 0 insertions, 0 deletions