HomeFreeBSD

nfscl: Replace "cred" with NULL to cleanup code

Description

nfscl: Replace "cred" with NULL to cleanup code

Commit 326bcf9394c7 added a new "cred" argument to nfscl_reqstart().
Fsinfo is a NFSv3 RPC and since the "cred" argument is not
used for NFSv3, it does not matter what is passed in.
However, to be consistent with the rest of the patch, change the
argument to NULL.

This patch should not result in a semantics change.

PR: 260011

(cherry picked from commit 2adb30740b12d4b80b8a1eb04b58ce0f6eb51de1)

Details

Provenance
rmacklemAuthored on Jul 11 2022, 10:51 PM
Parents
rG99bdbd808e32: nfscl: Initialize nfsess_badslots to zero
Branches
Unknown
Tags
Unknown