Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2675605rwo; Sun, 23 Jul 2023 22:14:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlEh+H2Tlg63ljp0SFIbW7SB5UQ3HsKiCEJkn/BOgSFwQuskaJUfv7MGyM+GKrRseKc458NK X-Received: by 2002:a05:6402:34d:b0:522:1f34:8429 with SMTP id r13-20020a056402034d00b005221f348429mr4006878edw.0.1690175675323; Sun, 23 Jul 2023 22:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690175675; cv=none; d=google.com; s=arc-20160816; b=AKC7uWcrhn5OioTLPjALgNAVTFaVawhsFE22n88cOqmLbry7PZklf6cyTw5O8h/s+5 YTfLtbkz7M4C0QS18t/pZx19wfAR3zusCjVk1LT16WzPmYavYCVvauE00+z08ote1Rku auJLn4fAlQIrhaM9mGfEcZ/THlR1YV7vPKkoLJvWM5bVm9p5BbgXA0l0hsIOaDfZIHOM m6f98aIIEG5r9XLyyDZjB9Ae53tEZjPJv/yC/Ok0MzZDYUNZ7zAH4scLEE4+2AmCiz/2 rsb2GMVFQWE/ynohIPfcHbYYgGnuimla4XbLEM1kf9s8/KScODOkUnpDLUyrvg9TdYVf rs2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:references:in-reply-to:subject :cc:to:from:mime-version:content-transfer-encoding:dkim-signature :dkim-signature; bh=fytMvTwmPjgGSNd8fUaW0uPfvA4FOVLSKyY6fXWrTds=; fh=mgVqdMHrSmvux5to3BY3dII9GeBWkee+p8WUWy+38WY=; b=HQEEgSJ1p2VwiMGqINMPC87Fd6IRFUrday+D91dRc7D+/zFtVGApG8J0daK03Zs4R+ OXO47iJWzIzDPqY41FDtr+p1CDn0IpJXINt4yHW0HUtiS5lH27EYqgpWJ6Yp1JVnsU/I IoVc9l6fvucVTBepKUs6EhHOAZBjaYJAl7lzbqJNgvIuouAeIKtC0BsME3TpvvHAQ1rH PdjIhgcK+TCQtHUIZaCKNZrQ2A5ZhLq4k2zNxhdz6P3i2vN3/TnbuwTUVJsv4IZTFZsn rulrHzE+nqPQdAI635FAL/o+PS9vL82mwMvfQRzd1JaS6g224RIYzdlffuHilJk14vQD 5qpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=nZaS5uf2; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f23-20020a50ee97000000b0052237edce93si359850edr.622.2023.07.23.22.14.01; Sun, 23 Jul 2023 22:14:35 -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=@suse.de header.s=susede2_rsa header.b=nZaS5uf2; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229705AbjGXFJJ (ORCPT + 99 others); Mon, 24 Jul 2023 01:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbjGXFJI (ORCPT ); Mon, 24 Jul 2023 01:09:08 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B733DB; Sun, 23 Jul 2023 22:09:07 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B3CCE2048B; Mon, 24 Jul 2023 05:09:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1690175345; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fytMvTwmPjgGSNd8fUaW0uPfvA4FOVLSKyY6fXWrTds=; b=nZaS5uf28SPRU4eQoC5q6uPXgpduVpt7qqNfMvFSEc2biFCt8kCxm8cxQOj2r8HZKYFKbt jkehVqXEJCg2idssg5DefeLfz7Q4rX4ortoJdVrbzMQ9cghUue19403cvugupzgI91IQ2w 8fCafT7EWiwMHLuIxz4fdBKnoVSmMrU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1690175345; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fytMvTwmPjgGSNd8fUaW0uPfvA4FOVLSKyY6fXWrTds=; b=uWDfMDPo300lo9JyO+jgzkI0qaLoli4boYygrzKP71E4YLARAOnSl2dCT/MdmGB3l2bfGo yxr9gknx7NnY5ZAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4A9E713476; Mon, 24 Jul 2023 05:09:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2+pMO20HvmSrIgAAMHmgww (envelope-from ); Mon, 24 Jul 2023 05:09:01 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: "NeilBrown" To: "YueHaibing" Cc: chuck.lever@oracle.com, jlayton@kernel.org, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com, trond.myklebust@hammerspace.com, anna@kernel.org, yuehaibing@huawei.com, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] sunrpc: Remove unused extern declarations In-reply-to: <20230722033116.17988-1-yuehaibing@huawei.com> References: <20230722033116.17988-1-yuehaibing@huawei.com> Date: Mon, 24 Jul 2023 15:08:59 +1000 Message-id: <169017533908.11078.1160756498004010060@noble.neil.brown.name> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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. >=20 > 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! NeilBrown > --- > include/linux/sunrpc/svcauth.h | 2 -- > 1 file changed, 2 deletions(-) >=20 > 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 flavo= r); > =20 > 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, stru= ct auth_domain *dom); > extern struct auth_domain *auth_domain_lookup(char *name, struct auth_doma= in *new); > extern struct auth_domain *auth_domain_find(char *name); > extern struct auth_domain *auth_unix_lookup(struct net *net, struct in6_ad= dr *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); > --=20 > 2.34.1 >=20 >=20