freebsd-dev/sys/fs/nfsserver
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
..
nfs_fha_new.c nfsd: Enable the NFSD_VNET vnet front end macros 2023-02-18 14:59:36 -08:00
nfs_fha_new.h nfsd: Get rid of useless "pool" field in nfs_fha_new.c 2023-02-17 07:34:40 -08:00
nfs_nfsdcache.c nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
nfs_nfsdkrpc.c nfsd: Fix initialization broken by 7344856e3a6d 2023-02-12 09:16:56 -08:00
nfs_nfsdport.c nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
nfs_nfsdserv.c nfsd: Fix handling of the error case for nfsvno_open 2023-02-08 13:08:51 -08:00
nfs_nfsdsocket.c nfsd: Wrap nfsstatsv1_p in the NFSD_VNET() macro 2023-02-15 17:39:07 -08:00
nfs_nfsdstate.c nfsd: Wrap nfsstatsv1_p in the NFSD_VNET() macro 2023-02-15 17:39:07 -08:00
nfs_nfsdsubs.c nfsd: Prepare the NFS server code to run in a vnet prison 2023-02-11 15:51:19 -08:00