vfs: VOP_REMOVE: move vnode unlocking and ref dropping to FS-indep part
authorsemarie <semarie@openbsd.org>
Mon, 13 May 2024 11:17:40 +0000 (11:17 +0000)
committersemarie <semarie@openbsd.org>
Mon, 13 May 2024 11:17:40 +0000 (11:17 +0000)
commitaa47c49a2e9a5112e6a4bc79c916fa4f62fbda97
treece6289b95654e8292f44845c54783a36f0a2b21d
parent3819a926c0d8eabceb14559dd3b89326d1b14a6a
vfs: VOP_REMOVE: move vnode unlocking and ref dropping to FS-indep part

while here, ensure all vop_remove field are set, and always call the function.

the change is very conservative: it only adds vnode ref drop/unlock where it was
absent because it should be unreachable (and if it wasn't, it should fix
things).

ok miod@
sys/isofs/udf/udf_vnops.c
sys/kern/vfs_sync.c
sys/kern/vfs_vops.c
sys/miscfs/fuse/fuse_vnops.c
sys/msdosfs/msdosfs_vnops.c
sys/nfs/nfs_vnops.c
sys/ntfs/ntfs_vnops.c
sys/tmpfs/tmpfs_vnops.c
sys/ufs/ext2fs/ext2fs_vnops.c
sys/ufs/ufs/ufs_vnops.c