HomeFreeBSD

nfsd: Fix initialization broken by 7344856e3a6d

Description

nfsd: Fix initialization broken by 7344856e3a6d

Oops, although the vneting macros do not do anything yet,
commit 7344856e3a6d did change where things are initialized
and one of the initialization functions was not being called
early enough. This patch moves nfsrvd_init(0) to the
function called via (VNET_)SYSINIT() to fix this.

(cherry picked from commit fcfdb76e12fb3cdf584e6f06e56e7c48ec475cc6)

Details

Provenance
rmacklemAuthored on Feb 12 2023, 5:16 PM
Parents
rG797b9a88c80d: nfsd: Delete nfsrv_prison_cleanup() until vneting enabled
Branches
Unknown
Tags
Unknown