Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1584312rwn; Fri, 9 Sep 2022 00:12:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR4phPJzMVJGc2njF9e7mJZ3Sv9RTTsVzFoV7tCjVlvH1137g9YIEZ/RcOvoZH9VIq6546eF X-Received: by 2002:a05:6512:1151:b0:48c:ddba:b77a with SMTP id m17-20020a056512115100b0048cddbab77amr3740206lfg.650.1662707555385; Fri, 09 Sep 2022 00:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662707555; cv=none; d=google.com; s=arc-20160816; b=EBggBURVd2H+bhyTGJgh2a55h0WLFJDqkA4m2T0pyt/MahbgLtrdCmfHS+HhDIk3MP drY++HVt02Hxi/YXITSjzECCn9CFQAmDa/zxSGRYCC7ymY6knW9J9sUH4bVn2r4izeQU wSG2s6TcE2j/8wFRVbBAWiA6prUVrCAyOQrjJ+wdVfHlrL7M5iyPTLPL60/DKwUORlJF wHV3GngmOMB61RM6L13ORED6HWAYlrjWHF7yVqHDPE48j2LQ14XyLDXmd0naSAFrlhSm Kjkj+qm79EaZCYY06VyALtbnxLSq3MK96x8fI7V1PRKVmF2urhXqn3pHmjGIcOvRG94/ 64Ag== 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 :message-id:date:subject:cc:to:from; bh=yokq3sm6CC9CMEqDPmUIA61nWkQMoMmDfyQ4+IhbB4I=; b=zrbJICmzo0vwcu1Ao9Op3cMKIGYmfURh3IPbQhvFisTefwhytsov0LLYpxEWjw+hSZ 5c5iUG+tSxK3M3ydCqUYhaCxoA/jt2JleB9/BXtiRH7jaqQl8k4+T+S2+4eiRerK7cRH RAud8nuq06V9g1FHkyDT3MsBaMcK8CJq0mxMYuQH/w2qUcJFwHwo9+EEngWpB32xlfUf r+c1i6BuM/FcJfTbrn6fvM+P+WA4w5SQgmGlzrCed4f8F0CDVR0kNKrjcJp8b9ewq4eW RUR1ac21FQfN5ixRdARnHZpZw3++QaUTnHpLGLH74KfO9THOt4+lYHpTWqB8nOIiuxEK F6vw== 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 p32-20020a05651213a000b0049461a5aee7si522350lfa.288.2022.09.09.00.12.05; Fri, 09 Sep 2022 00:12: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; 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 S229988AbiIIG7P (ORCPT + 99 others); Fri, 9 Sep 2022 02:59:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiIIG7N (ORCPT ); Fri, 9 Sep 2022 02:59:13 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18CE7FA69D; Thu, 8 Sep 2022 23:59:13 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MP6FM65YmzlVj5; Fri, 9 Sep 2022 14:55:19 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 9 Sep 2022 14:59:10 +0800 From: Gaosheng Cui To: , , , , CC: , Subject: [PATCH] nfsd: remove nfsd4_prepare_cb_recall() declaration Date: Fri, 9 Sep 2022 14:59:10 +0800 Message-ID: <20220909065910.1157954-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 nfsd4_prepare_cb_recall() has been removed since commit 0162ac2b978e ("nfsd: introduce nfsd4_callback_ops"), so remove it. Signed-off-by: Gaosheng Cui --- fs/nfsd/state.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 5d28beb290fe..4155be65d806 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -697,7 +697,6 @@ extern int nfsd4_create_callback_queue(void); extern void nfsd4_destroy_callback_queue(void); extern void nfsd4_shutdown_callback(struct nfs4_client *); extern void nfsd4_shutdown_copy(struct nfs4_client *clp); -extern void nfsd4_prepare_cb_recall(struct nfs4_delegation *dp); extern struct nfs4_client_reclaim *nfs4_client_to_reclaim(struct xdr_netobj name, struct xdr_netobj princhash, struct nfsd_net *nn); extern bool nfs4_has_reclaimed_state(struct xdr_netobj name, struct nfsd_net *nn); -- 2.25.1