From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57962328B71 for ; Wed, 23 Sep 2026 13:28:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790170101; cv=none; b=R5NebCg58M0KHfCpEGVM/mv6+lLCoAo/cjy0KO/iVEgUBPCYfXXT2MqHI2L9UnHLO8ZbOLQQ7KlKVd1OBDpB8bjYQLQV4m00Tkb/oJDuNVsvKOhhfKlSREIqMlWY2tEWZ71X+OIJVn36LLOBLyaPh3/W4pRWxmlE5BRmhUQm0nU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790170101; c=relaxed/simple; bh=BseKvuhqDBw02TuoZZkMqljiYQc2JbVeBNffRjrBtrY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F/CNkHfw/MQHkiYKKB8++Hjrn43UIlbbtHpZvUkagvm8XQvOra9km14a7siYtNnJ8zph8+qmVpDTEF3gt2RhVgTXorCcnP4nezp8bgDNuxpNbjwFyKGhSCwy07qLGS3CWvJe4tBCj+IeLu65lFaDKv6iwe27xx3cBmUBRnMX+yA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c1aVdjZu; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c1aVdjZu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 595B51F000FF; Wed, 23 Sep 2026 13:28:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790170100; bh=/q7umokvFoIGEF9yxtUewMRFMPSxLzlfs7fnYxZFqFg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=c1aVdjZuNw8y8qCFpMU/4LlyQwJAV62xdU/AdCiGPYJndOVYCg5nFTaYLDFt3ypf1 C9OJdL+g8QozsuY2w1thnUnFwm3I1iMIwv0UtpGsO/IhqwDrikz1fHWkI9BCrnFTUH thkjbrTjXwiX9lAKWQ20OxQ8uLY2Z2vOsFuxvj7hyOhbckaS4RmpNhanMMFQpFMOo1 K+H+E6LUuQXBOwLHdIJ+9WGEOK6R2vtk4ayTwXsDPCdZzRGJaSDVE3pVGoEYk6+LM5 aA1OjrnHagijlB+X57LfG74FLETFPLU82j8tKeYa6TcZFLsS2/d67L14nSykrF7iVf 62k82AEcL/t/w== From: Chuck Lever To: NeilBrown , Jeff Layton , Olga Kornievskaia , Dai Ngo , Tom Talpey Cc: , Chuck Lever Subject: [PATCH v1 05/33] NFSD: Replace the nfsd3_createres macro Date: Wed, 23 Sep 2026 09:27:43 -0400 Message-ID: <20260923132811.244160-6-cel@kernel.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260923132811.244160-1-cel@kernel.org> References: <20260923132811.244160-1-cel@kernel.org> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Chuck Lever I'm about to use the name "nfsd3_createres" for a C struct, so let's get rid of the macro to reduce confusion. Signed-off-by: Chuck Lever --- fs/nfsd/nfs3proc.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index 223398ada3e3..200e084d749b 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c @@ -916,7 +916,6 @@ nfsd3_proc_commit(struct svc_rqst *rqstp) #define nfsd3_fhandleargs nfsd_fhandle #define nfsd3_attrstatres nfsd3_attrstat #define nfsd3_wccstatres nfsd3_attrstat -#define nfsd3_createres nfsd3_diropres #define ST 1 /* status*/ #define FH 17 /* filehandle with length */ @@ -1027,7 +1026,7 @@ static const struct svc_procedure nfsd_procedures3[22] = { .pc_release = nfs3svc_release_fhandle2, .pc_argsize = sizeof(struct nfsd3_createargs), .pc_argzero = sizeof(struct nfsd3_createargs), - .pc_ressize = sizeof(struct nfsd3_createres), + .pc_ressize = sizeof(struct nfsd3_diropres), .pc_cachetype = RC_REPLBUFF, .pc_xdrressize = ST+(1+FH+pAT)+WC, .pc_name = "CREATE", @@ -1039,7 +1038,7 @@ static const struct svc_procedure nfsd_procedures3[22] = { .pc_release = nfs3svc_release_fhandle2, .pc_argsize = sizeof(struct nfsd3_mkdirargs), .pc_argzero = sizeof(struct nfsd3_mkdirargs), - .pc_ressize = sizeof(struct nfsd3_createres), + .pc_ressize = sizeof(struct nfsd3_diropres), .pc_cachetype = RC_REPLBUFF, .pc_xdrressize = ST+(1+FH+pAT)+WC, .pc_name = "MKDIR", @@ -1051,7 +1050,7 @@ static const struct svc_procedure nfsd_procedures3[22] = { .pc_release = nfs3svc_release_fhandle2, .pc_argsize = sizeof(struct nfsd3_symlinkargs), .pc_argzero = sizeof(struct nfsd3_symlinkargs), - .pc_ressize = sizeof(struct nfsd3_createres), + .pc_ressize = sizeof(struct nfsd3_diropres), .pc_cachetype = RC_REPLBUFF, .pc_xdrressize = ST+(1+FH+pAT)+WC, .pc_name = "SYMLINK", @@ -1063,7 +1062,7 @@ static const struct svc_procedure nfsd_procedures3[22] = { .pc_release = nfs3svc_release_fhandle2, .pc_argsize = sizeof(struct nfsd3_mknodargs), .pc_argzero = sizeof(struct nfsd3_mknodargs), - .pc_ressize = sizeof(struct nfsd3_createres), + .pc_ressize = sizeof(struct nfsd3_diropres), .pc_cachetype = RC_REPLBUFF, .pc_xdrressize = ST+(1+FH+pAT)+WC, .pc_name = "MKNOD", -- 2.55.0