freebsd-src/sys/fs
Rick Macklem ef6fcc5e2b nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup
Commit ed03776ca7 enabled the vnet front end macros.
As such, for kernels built with the VIMAGE option will malloc
data and initialize locks on a per-vnet basis, typically
via a VNET_SYSINIT().

This patch adds VNET_SYSUNINIT() macros to do the frees
of the per-vnet malloc'd data and destroys of per-vnet
locks.  It also removes the mtx_lock/mtx_unlock calls
from nfsrvd_cleancache(), since they are not needed.

Discussed with:	bz, jamie
MFC after:	3 months
2023-02-20 13:11:22 -08:00
..
autofs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
cd9660 Stop cleaning MNT_LOCAL on unmount 2023-01-14 20:28:11 +02:00
cuse cuse(3): Cosmetic change about testing boolean values. 2022-10-04 13:51:06 +02:00
deadfs
devfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
ext2fs Fix block bitmap end position computation 2023-01-29 11:11:02 +03:00
fdescfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
fifofs fifofs: ansify 2023-02-07 23:18:51 +00:00
fuse fusefs: fix some resource leaks 2023-02-14 14:19:59 -07:00
mntfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
msdosfs msdosfs deextend: validate pages of the partial buffer 2023-02-14 00:29:42 +02:00
nfs nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
nfsclient nfscl: Fix interaction between mmap'd and VOP_WRITE file updates 2023-02-08 14:25:01 -08:00
nfsserver nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
nullfs nullfs: ansify 2023-02-07 23:22:27 +00:00
procfs vm_pager: Remove references to KVME_TYPE_DEFAULT in the kernel 2022-07-17 07:09:48 -04:00
pseudofs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
smbfs smbfs: ansify 2023-02-07 23:35:11 +00:00
tarfs tarfs: Use a separate debug bit for bounce buffer usage. 2023-02-16 00:40:45 +00:00
tmpfs tmpfs: remove IFF macro 2023-02-15 02:57:41 +02:00
udf udf: ansify 2023-02-07 23:24:24 +00:00
unionfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00