Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2739583rwo; Sun, 23 Jul 2023 23:51:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlFLCIhXzlD+ok6RtCLtNhsoqXYIh/I2viUDOA6GqPPrDlz0PgNxv3xdTqDkCZcxlN9HGwn3 X-Received: by 2002:a05:620a:3953:b0:767:64cc:21c1 with SMTP id qs19-20020a05620a395300b0076764cc21c1mr8005373qkn.16.1690181491137; Sun, 23 Jul 2023 23:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690181491; cv=none; d=google.com; s=arc-20160816; b=RbZ6xcddzcqvd3LO9W6dIpiTWgjVYqTCsXcPC3/5IMnVCQBVgk5XqtMf04KV2RQ6Jm /SU2X2sioGnuF7rrbKyiJTjKD8AIs+y+scVFPjJDIWbXK8F1y6lLrWM7RhbkWujBbUO+ 9k4Jtr03yGAVmXzm5uU8Lfx7O+Q6hIniN8XpUltSHm0MN/1ESyJFFjXp+c3m74lv9EXl 9Ks3Orl9fcKKcljGCimZDNJG5zIGkI4BRp545JYzikHlIpeR0Z5N70Fz1LOtkaL1OR4K 6hifLcEW8psZNSUu4ZgegD6DibRwpUVSKrCH70kjGv0tr77vu/oiioqp0JfpXgUEKkdc wOyg== 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=Kc1O+VU41xRo0bRoJATb7EZdtKjOFPkUPg5rp5H7z/w=; fh=xwoGITZiEzKSrDp3SFLKM8vkNYdrRlQo8mPsWO4aeBI=; b=0tX7I12pKB2epdm7Bs1UsVnDqebwyfhBBRrXS4XRjXAYwMszN/HiEOlOh727chF0oU hkcRYeafejYZbx6Jqc0AQW9kx+8+jOqwVwlWXs5NNK+kmF9/uzYPPiHs+T/uZPcN1yMb kpeqK43593JDuOwj4wVi6qrrBpA3BREpJavz+6MeNjDlAzxAx8+bknqXzpVMDBScBLx+ /8tNuGQSm4gI7eLcX70tF+JZD2YS7N3nC3cbetMh6EgURUUU0f8MeBnBrYc8oY9GJmAb 1dYcwr9CikSaNhGhEZvkj36c7cTmtG1euVt6nAaACTyPdudfxoAlNUq4mc1wg9bgIFAB 1B/g== 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 y8-20020a17090264c800b001b89b691c7asi3549089pli.196.2023.07.23.23.51.09; Sun, 23 Jul 2023 23:51:31 -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 S230054AbjGXGpb (ORCPT + 99 others); Mon, 24 Jul 2023 02:45:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231169AbjGXGp2 (ORCPT ); Mon, 24 Jul 2023 02:45:28 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FBE7107; Sun, 23 Jul 2023 23:45:27 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R8VwC4S0xzHqc5; Mon, 24 Jul 2023 14:42:51 +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 14:45:23 +0800 Subject: Re: [PATCH -next] sunrpc: Remove unused extern declarations To: NeilBrown CC: , , , , , , , , References: <20230722033116.17988-1-yuehaibing@huawei.com> <169017533908.11078.1160756498004010060@noble.neil.brown.name> From: YueHaibing Message-ID: Date: Mon, 24 Jul 2023 14:45:07 +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: <169017533908.11078.1160756498004010060@noble.neil.brown.name> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) 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 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. Sure, will do this. > > 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 >> >> > > . >