NetBSD/sys/fs/hfs
dholland d819c3614f Use macros for the canned parts of device and fifo vnode op tables.
Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain
the portion of the vnode ops table declaration that is
(conservatively) the same in every fs. Use these in every fs that
supports devices and/or fifos with separate ops tables.

Note that ptyfs works differently (it has one type of vnode with
open-coded dispatch to the specfs code, which I haven't changed in
this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic
dispatch that already does more or less the same thing, which I also
haven't changed.

Also note that this anticipates a few bits in the next changeset here
and there, and adds missing but unreachable calls in some cases (e.g.
most fses weren't defining whiteout on devices and fifos, but it isn't
reachable there), and it changes parsepath on devices and fifos to
genfs_badop from genfs_parsepath (but it's not reachable there
either).

It appears that devices in kernfs were missing kqfilter, so it's
possible that if you try to use kqueue on /kern/rootdev that it'll
explode.

And finally note that the ops declaration tables aren't
order-dependent. (Other than vop_default_desc has to come first.)
Otherwise this wouldn't work.
2021-07-18 23:56:12 +00:00
..
Makefile
TODO
files.hfs
hfs.h Replace the */ I accidentally removed in the last commit 2020-07-24 05:26:37 +00:00
hfs_subr.c
hfs_vfsops.c Avoid undefined behavior in left shift semantics 2020-02-28 11:27:38 +00:00
hfs_vnops.c Use macros for the canned parts of device and fifo vnode op tables. 2021-07-18 23:56:12 +00:00
libhfs.c Fix support for case sensitive HFS. 2018-12-30 22:40:00 +00:00
libhfs.h Remove bogus code to workaround PCC limitations. 2019-01-05 10:25:11 +00:00
unicode.c
unicode.h