HomeFreeBSD

nfsd: Wrap nfsstatsv1_p in the NFSD_VNET() macro

Description

nfsd: Wrap nfsstatsv1_p in the NFSD_VNET() macro

Commit 7344856e3a6d added a lot of macros that will front end
vnet macros so that nfsd(8) can run in vnet prison.
The nfsstatsv1_p variable got missed. This patch wraps all
uses of nfsstatsv1_p with the NFSD_VNET() macro.
The NFSD_VNET() macro is still a null macro.

(cherry picked from commit b039ca0776774036a9e33aa45f50296a7f6ba547)

Details

Provenance
rmacklemAuthored on Feb 16 2023, 1:39 AM
Parents
rG1304042bce83: nfsd: Continue adding macros so nfsd can run in a vnet prison
Branches
Unknown
Tags
Unknown