nfscl: Replace "cred" with NULL to cleanup code

Commit 326bcf9394 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
MFC after:	2 weeks
This commit is contained in:
Rick Macklem 2022-07-11 15:51:27 -07:00
parent 6452fb1e87
commit 2adb30740b

View File

@ -4779,7 +4779,7 @@ nfsrpc_fsinfo(vnode_t vp, struct nfsfsinfo *fsp, struct ucred *cred,
int error;
*attrflagp = 0;
NFSCL_REQSTART(nd, NFSPROC_FSINFO, vp, cred);
NFSCL_REQSTART(nd, NFSPROC_FSINFO, vp, NULL);
error = nfscl_request(nd, vp, p, cred);
if (error)
return (error);