Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4169860rdh; Tue, 28 Nov 2023 13:59:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEq9We95eXlfhKrvLY8oE+aeb13Kr+2dAnCY3qzC7HQF2/C0G12t4hdNe+O/PC2UWrnUaRk X-Received: by 2002:a05:6214:1043:b0:67a:4a76:800d with SMTP id l3-20020a056214104300b0067a4a76800dmr6770802qvr.32.1701208788902; Tue, 28 Nov 2023 13:59:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701208788; cv=none; d=google.com; s=arc-20160816; b=l6noqgJ3H+ImjF6NeLeIWvAh2iyBMJ3yni2iYRYQry8pGea0CBVdQ8e87G3Ch4rBVu 9G9gheseG9QujkYf497GYEpQHpHnYu4eAvH8rOrlwpy+Etb1v0tvgeJIwVvPpmooZaM5 CDrgQ4RU8leKyfANkb+poPN2q15wF/+85VUkpCrQ+75BaNrg1t0TUaJm7JLr6/2VWPAo nNuCBp08YevW8OIiLde7ES9W7oGeDrnbd3/Rtz5GusPxFEnHhzldvdU6AjjHuWNKdkMX l+NFekRL/ePEtCXPOQDJm4+TpTdwZyyQ+N9gS4m8sS/955JMz+kG1yO11MAt7H2YNonE 0L5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :message-id:date:cc:to:from:subject:dkim-signature; bh=LYwo9JO6UrEknEwE4cYe9ylnS87W7EDCsSwqF/TwEhw=; fh=xkJJ9G/tfqFUcIeP82drScMuFzbH6I4bp3/iFRpdd9E=; b=axxQnzjoFQYXi16J2eiK86H7f4hUh3QOwSA25VABjlCxLYs8TpqGuyk/wDwp6UrieW gyEMzGFfTMxRegu527KzdXe/lAeyoOIvslOtRlElsSoLeHELrhQJQr3tGN1XTHuTXpTx c4Ps/YFOHa7O6bZi5QVQWVJe8ioycYP5zAr6Y6TATihkwA6AZzvTFp8q4dMCNS8Gn57B 6jer2GtGVAOHGUnpWqM4cocGxK75ow2YxZn0hDjdhSgwVrQP+64HqHjj6G73aG32uqqy m9YKkeDJPIEsl7o/bDmZf3sZm8TWqnwrIB63I/rqmeHSI8FX6ysyLKt1WYgT+sO070z1 nrfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cXndDUep; spf=pass (google.com: domain of linux-nfs+bounces-141-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-141-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f21-20020a0caa95000000b0067a06b273e5si11877643qvb.371.2023.11.28.13.59.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:59:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-141-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cXndDUep; spf=pass (google.com: domain of linux-nfs+bounces-141-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-141-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 92D431C209CA for ; Tue, 28 Nov 2023 21:59:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CD6D42A8B; Tue, 28 Nov 2023 21:59:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cXndDUep" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EFC9344390; Tue, 28 Nov 2023 21:59:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F33EC433C8; Tue, 28 Nov 2023 21:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701208786; bh=FUPDdsl/ocHoaRCJdSGZN8HogF0djTFLTb7ddFeu4Zo=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=cXndDUepsczTUk6qdtZWNV0zokkdIiSvWrn3P7oJ5KBGFTg7UdfF8Xx+QCH674hi6 INi19+gG/haAMRMbX3TInurNl2UELTGAdm0b9JmtQFhSEO1xi3t1kzTmCngIUxrEeR zkzn2+Rync43TUnDm1dLjyooH4hvo+vUqW42fjznrG32aAJPlxO7f0PMbEx+IBqlmi Rgvt414zXBMvx+WssrFt1jUMFDWU95rD6oYXETWCBw+KucW1JF03AhhQcpt2jbUD35 mxD2ehp1eeWkXLlx9zHfdTyXOfAS3ztvChF/dTFhAOzJc50O594yYNBbwdYSxU7gwN P1TtBgHmSDReg== Subject: [PATCH 2/8] NFSD: Rename nfsd_reply_cache_alloc() From: Chuck Lever To: stable@vger.kernel.org Cc: linux-nfs@vger.kernel.org Date: Tue, 28 Nov 2023 16:59:45 -0500 Message-ID: <170120878533.1515.6439967545647884997.stgit@klimt.1015granger.net> In-Reply-To: <170120874713.1515.13712791731008720729.stgit@klimt.1015granger.net> References: <170120874713.1515.13712791731008720729.stgit@klimt.1015granger.net> User-Agent: StGit/1.5 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: Chuck Lever [ Upstream commit ff0d169329768c1102b7b07eebe5a9839aa1c143 ] For readability, rename to match the other helpers. Reviewed-by: Jeff Layton 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 e197756b5454..40b8bbfc0950 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; @@ -458,7 +458,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;