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.

Reported by: olivier
MFC after: 3 months

Details

Provenance
rmacklemAuthored on Feb 12 2023, 5:16 PM
Parents
rG6d7da7c8490f: Revert "netlink: make netlink_snl(3) c++ friendly."
Branches
Unknown
Tags
Unknown