From nobody Mon Jul 11 22:58:41 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6D6521D0ECF2; Mon, 11 Jul 2022 22:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LhfSd2lRDz3DSh; Mon, 11 Jul 2022 22:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657580321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HyK45/th77HSPzibHVKskzKKer16FHkCb+AuTFgGaY8=; b=LlfS29kU5aG5mtE/gDEXbLzGb6FfJMefLSzQCz+ZoUWQqRq5r3s7TsoerkzTfBxaHeb3Ek 7Axw7ZmuvAqer4Em9VUscENiPdp6VT1qDZ6mlM4JKFzJ2IbH8vAgEJ1l97whGyggg4G8G9 jpqf7UcNMdkshnD+6YGZ/FxuAToo3g8vOwASrjY/rMQMo7zvhrbbo7qCCD+gmoFgfEg6+s PsEzYAd432On9z0UDVZvIlx8u75iO04ndBwjK2Bujzi0M6CTYquFRNz69YnTXRoptL7w+V 0+Llxxeyw6wBRWMZXne/QBSf9GGVvbevTiYJQkTVhWhtyNdlKopqxAzBS/BeYA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LhfSd1pkTzLY5; Mon, 11 Jul 2022 22:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26BMwflh048292; Mon, 11 Jul 2022 22:58:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BMwfNa048291; Mon, 11 Jul 2022 22:58:41 GMT (envelope-from git) Date: Mon, 11 Jul 2022 22:58:41 GMT Message-Id: <202207112258.26BMwfNa048291@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 2adb30740b12 - main - nfscl: Replace "cred" with NULL to cleanup code List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2adb30740b12d4b80b8a1eb04b58ce0f6eb51de1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657580321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HyK45/th77HSPzibHVKskzKKer16FHkCb+AuTFgGaY8=; b=Z9mCBmG+Goqs/CjNpi9V2pZvSVL4ZZpqg30AXFvLpG5oEikGk70k+5wGzzlsjj8xbivg1s m3jnQZGL08YvjpmiC3tIN3Pkzj4lJjTf74FN+Bk6k5Zxnd0TlZay02chmlM2zObhuL2Ggy 8h72jz4AM0N7JSe6J+YRHn63vMJj73Ed+gGO5CRIT7dFARDsw0lv+kjKrhVc7gIEEDIZPl eNliMVPfM7Ln8K8Ta9WscVJb4iWkozC0RDw4mAClqGd/zkIoyYN3ChplpHskwq5BkDlI9Z 6+tbucshGJTmOa8ImivuVobVNIg7utwRJe0V9CwhJ31nPOUjZ75WJmM5GbfZqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657580321; a=rsa-sha256; cv=none; b=AtHK/sOVRNdcogQS5SNGVaJDmaSxTZo3qUkgyUoVPxDNnNSd1m2NTkzcZkIHJX/7h+wt8T HTsthrvH7kCR+TDqm33IkRDUJdlVM4C5eSZ/HHGEdlrRZh3r4TjNhRD6G/1QqxYC+f3DAl kwdyKO3aIeGgigLng2iCSxsT6D8VxI35nURHyA2FOe0KjbEeH10/wdX2zGyvEkrofCtGXt aulEA0ev9j3D0clTn7ryzcjJixPObKgW4nnT1bLcsvmMxevSqctqikdzAD3q8skPCP8Dty OWcdef8uE9EFFrN1wJYRNXY9LLtS0zuTE2hJY0R+HbFD0sCLRPtowwja3GAQDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=2adb30740b12d4b80b8a1eb04b58ce0f6eb51de1 commit 2adb30740b12d4b80b8a1eb04b58ce0f6eb51de1 Author: Rick Macklem AuthorDate: 2022-07-11 22:51:27 +0000 Commit: Rick Macklem CommitDate: 2022-07-11 22:58:07 +0000 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 MFC after: 2 weeks --- sys/fs/nfsclient/nfs_clrpcops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/nfsclient/nfs_clrpcops.c b/sys/fs/nfsclient/nfs_clrpcops.c index 187136746e3a..051942d84d4d 100644 --- a/sys/fs/nfsclient/nfs_clrpcops.c +++ b/sys/fs/nfsclient/nfs_clrpcops.c @@ -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);