vfs: merge *_badop to vop_generic_badop
authorsemarie <semarie@openbsd.org>
Sat, 2 Oct 2021 08:51:41 +0000 (08:51 +0000)
committersemarie <semarie@openbsd.org>
Sat, 2 Oct 2021 08:51:41 +0000 (08:51 +0000)
commit9aafff14e70d6372f27715d6e30deafb68a50f57
treee1838ae61d3e4dc09046d5e7e23095e5a9c79ff5
parent3cbc720de388532d3337e3d2d9631bcdf834fff9
vfs: merge *_badop to vop_generic_badop

It replaces spec_badop, fifo_badop, dead_badop and mfs_badop, which
are only calls to panic(9), to one unique function vop_generic_badop().

No intented behaviour changes (outside the panic message which isn't
the same).

ok mpi@
15 files changed:
sys/isofs/cd9660/cd9660_vnops.c
sys/kern/spec_vnops.c
sys/kern/vfs_default.c
sys/miscfs/deadfs/dead_vnops.c
sys/miscfs/fifofs/fifo.h
sys/miscfs/fifofs/fifo_vnops.c
sys/nfs/nfs_vnops.c
sys/sys/specdev.h
sys/sys/vnode.h
sys/tmpfs/tmpfs_fifoops.c
sys/tmpfs/tmpfs_specops.c
sys/ufs/ext2fs/ext2fs_vnops.c
sys/ufs/ffs/ffs_vnops.c
sys/ufs/mfs/mfs_extern.h
sys/ufs/mfs/mfs_vnops.c