Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34295224rwd; Sun, 9 Jul 2023 08:55:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlHf1uZYS45a7Do9iPXZH/CJ2mlYcfgV4M1cCd6VRGRSM19UL243G/cjpZKp1LQ9YH3H+vHE X-Received: by 2002:aa7:d7d1:0:b0:518:6a99:cac3 with SMTP id e17-20020aa7d7d1000000b005186a99cac3mr8739168eds.31.1688918151905; Sun, 09 Jul 2023 08:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688918151; cv=none; d=google.com; s=arc-20160816; b=g+bjwl9iOiPYnf6ltclMeDia/+8nFP4vP8na0RhVxX7ekuiIbUnd5UFB6uC6HqndCv q3U8D5yYYiOi41FoDaQ8t3kOi39m7NhrDfFLxweuxQiVAjSswh9nTeM/9CGtc7JpdYUL HwE01uMp051HS7zUbXsSH8xZElV78FzBHR4XbdqtvFsQRCKfpTBJrW2OQeJxOK2zEbJd 2AwXM6eWQfZhfll0FyQgeVDeXQ8bMyg8OiVtW38txrxzGSCQP7savtSejjeZ2vAalgvw zr1Tz52obSl4R/3LdctkMCfbecw1aCEZAG4Ex9UW/ImQL1RP51wvJxSfGM4lhFxI+G3U V9Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature; bh=Gc6R2oIKueuKeG0HgTZXqTTKj+m/ALnTV2n+CCg46ws=; fh=JQd50hxhsnDf0UEbJWlcTOJpDnhhNX6CqFfxPRL5eAI=; b=jk5UH8+rRb0mbA6+ckezzta7eIYF0szl8OjmEKl68h4d2NGYjzk3tG4rwzejcxD9uA p43hiy9OswOzkhBIreeP1p4qu22HSbH0z6oSvVSv2q72b7qqnN0g/3GHo4VE/KMKK9AW LA21omP+ucs/zey7rTsCuFJo9MznGFQU42i/JxuagUPOt5KrO7Mq4oB+saLRH4kp13ZP mv5XFsZUq5D9pPM8N0+1CGtYZy4VveyI0yg6ETWSpwWJGjFZhihZUJbqvCQpNM3EbI0P 10olnc6bQmfLhZIfqJKSKpUto8k3KOScSUSY/48dEPy6GIqQIKgA3z8hrVNNmZ4wgdPU fRsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BNuCrFW1; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020aa7dacc000000b0051de4432748si4353330eds.478.2023.07.09.08.55.27; Sun, 09 Jul 2023 08:55:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BNuCrFW1; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232879AbjGIPp3 (ORCPT + 99 others); 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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;