From patchwork Sun Jul 9 15:45:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 13305889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01985EB64DD for ; Sun, 9 Jul 2023 15:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232879AbjGIPp3 (ORCPT ); Sun, 9 Jul 2023 11:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231897AbjGIPp2 (ORCPT ); Sun, 9 Jul 2023 11:45:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04F75126 for ; Sun, 9 Jul 2023 08:45:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8E31D60BE9 for ; Sun, 9 Jul 2023 15:45:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAF0BC433C7; Sun, 9 Jul 2023 15:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688917524; bh=db12GwU7vMx8hFg9+ixFPy4mk5gSBpDOB29LHQeesBU=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=BNuCrFW1kO2ISbzTSZglqEZbmO8EXVkHzQkp2Omeoj7Y0bZgVrI19GlBGxCDQtXoJ Ixp5N16U8jixeg6A/WyqdVN3whBki3VrSxtW8VEEajyj78+iOy8qqFUEdCuGTifhPj WDlBdIsRNSz1Jic7Q9COOCwl0jMSEU/LMQq4nInXMC/SPyHw2bdHGFz16xshFs0H5w O/o2C9p2KT1nF05R26eP88Q5wb5OaOhwz7OU1MeKAuiM0BfWV8QA65oTh9u5uGgFQl Cti63LsxC/jcUjar2tRZxX+aFrHCRqqZ6yNIP/1BwVWLCSDQhRhevTRVmYTRqUmETt pF0TY1Rl4BOvw== Subject: [PATCH v1 2/6] NFSD: Rename nfsd_reply_cache_alloc() From: Chuck Lever To: linux-nfs@vger.kernel.org Cc: Chuck Lever Date: Sun, 09 Jul 2023 11:45:22 -0400 Message-ID: <168891752292.3964.13630295106921633812.stgit@manet.1015granger.net> In-Reply-To: <168891733570.3964.15456501153247760888.stgit@manet.1015granger.net> References: <168891733570.3964.15456501153247760888.stgit@manet.1015granger.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Chuck Lever For readability, rename to match the other helpers. Signed-off-by: Chuck Lever --- fs/nfsd/nfscache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c index 601298b7f75f..74fc9d9eeb1e 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c @@ -85,8 +85,8 @@ nfsd_hashsize(unsigned int limit) } static struct svc_cacherep * -nfsd_reply_cache_alloc(struct svc_rqst *rqstp, __wsum csum, - struct nfsd_net *nn) +nfsd_cacherep_alloc(struct svc_rqst *rqstp, __wsum csum, + struct nfsd_net *nn) { struct svc_cacherep *rp; @@ -457,7 +457,7 @@ int nfsd_cache_lookup(struct svc_rqst *rqstp) * preallocate an entry. */ nn = net_generic(SVC_NET(rqstp), nfsd_net_id); - rp = nfsd_reply_cache_alloc(rqstp, csum, nn); + rp = nfsd_cacherep_alloc(rqstp, csum, nn); if (!rp) goto out;