HomeFreeBSD

nfsd: silence rpcb_unset noise for NFSv4 only servers

Description

nfsd: silence rpcb_unset noise for NFSv4 only servers

An NFSv4 only configuration does not register with
rpcbind(). Without this patch a failure to rpcb_unset()
is reported when the daemon is terminated for this case.

This is harmless noise, but this patch avoids calling
rpcb_unset() for the NFSv4 only case, avoiding the noise.

When called with "-d", it still does the rpcb_unset(),
assuming that the configuration might have been
changed to NFSv4 only and unregistering with
rpcbind() might still be needed.

Reviewed by: freqlabs
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D29449

Details

Provenance
rmacklemAuthored on Apr 1 2021, 10:09 PM
Reviewer
freqlabs
Differential Revision
D29449: nfsd: don't report rpcb_unset() failures for NFSv4 only configuration
Parents
rG516fe911a6b7: cxgbe(4): Always use the per-VI callout to read interface stats.
Branches
Unknown
Tags
Unknown