Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3157633rwo; Mon, 24 Jul 2023 07:07:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlG5F7Ex/1foQ6SA23GB7iGPvlxjfrRrITSgB4gxoW4Eck3b1A6A/XUdN28fQe8mWCITqlIO X-Received: by 2002:a05:6a20:429b:b0:133:21c3:115e with SMTP id o27-20020a056a20429b00b0013321c3115emr13877931pzj.48.1690207674431; Mon, 24 Jul 2023 07:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690207674; cv=none; d=google.com; s=arc-20160816; b=l2smV+Th9jaxwtBasuuvy2uYQWA5w6A1qhW4b+a24XJdd/34483B8jqVDi8IrlMhiz m8OQYBOSwysg6u3eFkojTwHC9Dx+Ip79ijDZmsErkGeUZLhd/O/N4RaTQOg5Dl1ojXSf i6silFeYK+6S/jDPcuSOcxRlyRr/ckLF0iCxypvPHExKV1/HM+v9RdyulfwgUpjWAGOq QeN/tffeW68UxLve5u/6IgdFsf5f53huIqQ7mEaCHkUy3HESca4EaM27svp9XrBA9Dfs aKzDviYSwCdjoYVOcNScsjxH0lk2g9IdG1I4EIzMo/YJdG3zUTwzqrjJivJ8f3rGdctB DHrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=c7nGnfnrhkLqWULOHHRVYYZbau4AcW/ipPfdfP4onMc=; fh=qoPnAHhTB75VpQizBzsoD/BVA/Y6V1yGlmRAAy778tY=; b=MDZ0NWoNezJ/TLuoxr5Rdy1ZePXDht++X3GORsV6PFPnjySAHHV4dd71XQzrhXRJRC SlbSvUUsouRWE3GY1JkHPNh84nNHjdACVgetq9L0r+UJw8oEQ579qNavUpzjE8xP8BQN U0GQMyE74vYYZIjvWZvJlplYRxE6vyTG5jyGdgG/JqtZMbZ3/hcs0sNI++QnFRp5WRT3 HD+2URxeHMLEQuAnAeCRvFOC/QrU9/1JC48ulKid2wYmFt3tWDD/+edZnqJRbEi7gkAJ bttk+2IwhVi4nqqkXM7dIWRKlrk8NYNrZVc2b4odbrGjBA2JCWiLPy9iFl62PCxd/tmL 267w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020a637b56000000b0055c66f42ee1si9327191pgn.40.2023.07.24.07.07.39; Mon, 24 Jul 2023 07:07:54 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjGXN7f (ORCPT + 99 others); Mon, 24 Jul 2023 09:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbjGXN7e (ORCPT ); Mon, 24 Jul 2023 09:59:34 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50676FF; Mon, 24 Jul 2023 06:59:32 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R8hY52FDPzHqc7; Mon, 24 Jul 2023 21:56:57 +0800 (CST) Received: from [10.174.179.215] (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 24 Jul 2023 21:59:29 +0800 Subject: Re: [PATCH -next] sunrpc: Remove unused extern declarations To: Chuck Lever CC: NeilBrown , , , , , , , , References: <20230722033116.17988-1-yuehaibing@huawei.com> <169017533908.11078.1160756498004010060@noble.neil.brown.name> From: YueHaibing Message-ID: <6c56d747-84c4-5f7d-86ba-b3d5ac377c42@huawei.com> Date: Mon, 24 Jul 2023 21:59:29 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 On 2023/7/24 21:25, Chuck Lever wrote: > On Mon, Jul 24, 2023 at 02:45:07PM +0800, YueHaibing wrote: >> On 2023/7/24 13:08, NeilBrown wrote: >>> On Sat, 22 Jul 2023, YueHaibing wrote: >>>> Since commit 49b28684fdba ("nfsd: Remove deprecated nfsctl system call and related code.") >>>> these declarations are unused, so can remove it. >>>> >>>> Signed-off-by: YueHaibing >>> >>> Thanks. >>> Could you remove the declaration of auth_unix_lookup too? >>> It was removed in that commit, but the declaration is still with us. > > Thanks, Neil. I thought there might be one or two others, but none stood > out to me. > > >> Sure, will do this. > > Yue, I can just fold that into the applied patch. No need to send another. Ok. > > >>> Thanks! >>> NeilBrown >>> >>>> --- >>>> include/linux/sunrpc/svcauth.h | 2 -- >>>> 1 file changed, 2 deletions(-) >>>> >>>> diff --git a/include/linux/sunrpc/svcauth.h b/include/linux/sunrpc/svcauth.h >>>> index 6d9cc9080aca..2402b7ca5d1a 100644 >>>> --- a/include/linux/sunrpc/svcauth.h >>>> +++ b/include/linux/sunrpc/svcauth.h >>>> @@ -157,11 +157,9 @@ extern void svc_auth_unregister(rpc_authflavor_t flavor); >>>> >>>> extern struct auth_domain *unix_domain_find(char *name); >>>> extern void auth_domain_put(struct auth_domain *item); >>>> -extern int auth_unix_add_addr(struct net *net, struct in6_addr *addr, struct auth_domain *dom); >>>> extern struct auth_domain *auth_domain_lookup(char *name, struct auth_domain *new); >>>> extern struct auth_domain *auth_domain_find(char *name); >>>> extern struct auth_domain *auth_unix_lookup(struct net *net, struct in6_addr *addr); >>>> -extern int auth_unix_forget_old(struct auth_domain *dom); >>>> extern void svcauth_unix_purge(struct net *net); >>>> extern void svcauth_unix_info_release(struct svc_xprt *xpt); >>>> extern int svcauth_unix_set_client(struct svc_rqst *rqstp); >>>> -- >>>> 2.34.1 >>>> >>>> >>> >>> . >>> >