diff options
| author | dholland <dholland@NetBSD.org> | 2021-06-29 22:37:50 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2021-06-29 22:37:50 +0000 |
| commit | d70a7aa48beecc9c85aeea1a4a6692e255489d9c (patch) | |
| tree | 9aa353030a4b3f1ccc4c7c7f34cb081047413a02 /sys/modules/lua | |
| parent | 166fe3bb22e6482915a7b8df81af2fc142a73f74 (diff) | |
Implement VOP_PARSEPATH() for hfs.
This checks for a following "/rsrc" at the end of the pathname (to
indicate the resource fork of a file) and assimilates it into the
component name to be looked up. Then cn_namelen will already include
this text in lookup, and it's no longer necessary to muck with
cn_consume.
Invalid uses of "/rsrc" are ignored rather than rejected, which
appears to be the same as the old behavior. It is possible that the
parsepath logic should only consume the "/rsrc" if the name names a
file and not a directory, which would require looking it up in
parsepath and be a general nuisance; I hope not. It's also possible
that the whole thing doesn't work at all now, or it didn't before, as
I don't have any way to test it.
Diffstat (limited to 'sys/modules/lua')
0 files changed, 0 insertions, 0 deletions
