Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1550227rwn; Thu, 8 Sep 2022 23:25:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR65LVEYm63B3NQpB7FDwS4BPG5mWFcqWyxscUnZz70D/k+jV+EAyEORBjJJgEqtk9h8Ii87 X-Received: by 2002:a05:6a00:189d:b0:53e:79de:3fc1 with SMTP id x29-20020a056a00189d00b0053e79de3fc1mr11126690pfh.2.1662704723677; Thu, 08 Sep 2022 23:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662704723; cv=none; d=google.com; s=arc-20160816; b=tZpwXMvoRvcUybUKH4KiDZpKdjoKIW365nEfcS1xISJWDsRuj/lwEhHSqihviWP6ZN FPB/lQ1f75tG7/TnFVtPPlQOq2cQAl8uaZIoZkWOqW+6DB+xRHqVkil9WpaCbjCmg9MI hTwXLa/E0BYVYbDadnk6V3ywj14/jqqneM9RIu/vYFkpw5/TK/JSeGcgXAxMHw4of9nn zUVPS/TiHXVSgOJdQcUpHPGlpNGy8/jvMO7pe/1+VWcuGpsW6maKQgOdPGVpss29O67G 7DPai78oDfpXn9UdbUzOfgRtl9LgAhLGOWPGhNorduosAfO+SJagg4ROgom4Z2qSElo/ krzw== 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=wPIsd/BSgnIJVRTotjitB00osf+TucxEuMhVzzIeo0c=; b=ud0gq8thAeiTeFIF2g7i9mUvXpbXkTIldor4NcZ1HvnLjxNPvv2BGr8QTHB3OSEWCm yuOrkvdyyF4EYnPYgSwq3mV+koAgtI5yxC1E3Fp7alICRKY1dH3hfBUtKQJgxJQULuZj TP6HpQzedGwXWuukVrenUc1EU7x2TMo4cWBoDckK3jJeEs12JyqHkEGf6tXW0n5g6vRe XkfgoIrF/KL2JiAliIoS90q5+b16GxPUSE48540rb1cfbN5kLXoRXypkyvxwHkypjHUw /p3Xnw79XIedhDsw4OY2zyOFm1+p3Tyjxa+Jx4shQDgUUngIltJ/k6eCm8y3o7fDn7sf +pxg== 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 z6-20020a170902ccc600b00172d1b09933si1111071ple.267.2022.09.08.23.25.00; Thu, 08 Sep 2022 23:25:23 -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 S230372AbiIIGYQ (ORCPT + 99 others); Fri, 9 Sep 2022 02:24:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230079AbiIIGYP (ORCPT ); Fri, 9 Sep 2022 02:24:15 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 825311251B4; Thu, 8 Sep 2022 23:24:14 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MP5VS5Gc7znV3G; Fri, 9 Sep 2022 14:21:36 +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:24:12 +0800 From: Gaosheng Cui To: , , , , CC: , Subject: [PATCH] nfs: remove nfs_wait_atomic_killable() and nfs_write_prepare() declaration Date: Fri, 9 Sep 2022 14:24:11 +0800 Message-ID: <20220909062411.1141888-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: dggems705-chm.china.huawei.com (10.3.19.182) 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 nfs_write_prepare() has been removed since commit a4cdda59111f ("NFS: Create a common pgio_rpc_prepare function"), so remove it. nfs_wait_atomic_killable() has been removed since commit 723c921e7dfc ("sched/wait, fs/nfs: Convert wait_on_atomic_t() usage to the new wait_var_event() API"), so remove it. Signed-off-by: Gaosheng Cui --- fs/nfs/internal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 27c720d71b4e..4651b35ad1b3 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -435,7 +435,6 @@ extern void nfs_zap_acl_cache(struct inode *inode); extern void nfs_set_cache_invalid(struct inode *inode, unsigned long flags); extern bool nfs_check_cache_invalid(struct inode *, unsigned long); extern int nfs_wait_bit_killable(struct wait_bit_key *key, int mode); -extern int nfs_wait_atomic_killable(atomic_t *p, unsigned int mode); /* super.c */ extern const struct super_operations nfs_sops; @@ -503,7 +502,6 @@ extern void nfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, const struct nfs_pgio_completion_ops *compl_ops); extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); extern void nfs_commit_free(struct nfs_commit_data *p); -extern void nfs_write_prepare(struct rpc_task *task, void *calldata); extern void nfs_commit_prepare(struct rpc_task *task, void *calldata); extern int nfs_initiate_commit(struct rpc_clnt *clnt, struct nfs_commit_data *data, -- 2.25.1