Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2102262rwb; Thu, 19 Jan 2023 21:08:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXt7B9ctjlqhhO9QHTxizUR4Tc8tkp1353tVzyH8yWO7O5MHqezztYCK4zSQ3m2qo57SiWkl X-Received: by 2002:a17:902:d582:b0:194:8b08:a571 with SMTP id k2-20020a170902d58200b001948b08a571mr14530585plh.2.1674191302336; Thu, 19 Jan 2023 21:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674191302; cv=none; d=google.com; s=arc-20160816; b=Wt8lMYozVDTHiIfB3lQ3uouv5mKBb1gUMGEH8PxnucqIRITD4ppoqiJEWMtbyQQP7o 3aWwBdFGRv5FmkjlS+XB+RRWRktpslG7oizi8oK3F5F5r1KU6Sw+mvjgnUBwZLO3pwXO 7oh+ODu1WQw7tY+tzwiY/YEshF1s8f4PstKep4+kiN8Ug9ovBRgLueq0bCi+FkQR1cCS iiax9LwLYGOJNwLJ5VaQNDbZ53/rs9xqg7H3uZ4BenWp7VA//ZxBygwSrC0H3Zurq+xN p0wM3ZjK6/PwoDo44XM6c4iPIdhfdoB3my3RaqpbrLu1vrfBAPln/gaCmsm12JdUvqwU OKEA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LxncCBRH0Ho8KT5kc5bo6EZSASfyHz4HkXXpt8iIfMA=; b=G1srfWEoe9v4GkpyF9j5lEazy5UBT3N/MGCp07vMTM7k5YXu5zFYApdlJ8jPmYaPWu FTCJCaCyaQ2faz4OfeM9tMNHq2nvJH3pL0OKapb0hfVNJWzoz6dsacKFb74zFthCwhFI hVQpwLQiBjF7AofTst9iEe2eWqeRGBw0hJRKLyccbqTP6pXU4tMgaJ8twZdvkSYczVIQ N8PVeyTPRElbTL7Tg++6d61X4edOmY2+/KeEmK4obWXIttA5d33Gy7fh+py+jIHn+lUg CCyPB3Hf+EUOch6MGsyeNpKyRjxnTLxSwJf9+VuEOw6/527stb3+pEX1vp87vKuXPEYc P59w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mm5Pgp6e; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m20-20020a170902bb9400b001910f9d152csi38728591pls.156.2023.01.19.21.08.07; Thu, 19 Jan 2023 21:08:22 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=mm5Pgp6e; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbjATFB7 (ORCPT + 99 others); Fri, 20 Jan 2023 00:01:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjATFBi (ORCPT ); Fri, 20 Jan 2023 00:01:38 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B6FFBD15F for ; Thu, 19 Jan 2023 20:49:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5671BB8274E for ; Thu, 19 Jan 2023 21:40:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2282C433EF; Thu, 19 Jan 2023 21:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674164424; bh=hj6KO9NNz4UFVymLW7NCjFeKaRLONASwWuaE6qomTNE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mm5Pgp6edZhfOC8EXjTbCfB2CXHob7M081JCHhmGFcYUIhfqlKR5/vOAcoXW8hjUF dFZGpfXDNryADhJrVkzxMSJDaTSmdDR5fkHvUt9iWBZueWmQy8CBut0qmgAJMQpZ24 9RGcARDj+IAD/FQxcrVVjkjo7cqjaakuUBzLBXEHlPyuTB2VyZZz13mLUqev1Xf4NL 3dTFk90Cy+4dfpSkEnQvMABB3BvkApmd90CfahgodPAG7ctw1JpKPHdVkntAFcF+zK byMsNzeahZkUrKfI6G5AwltTBIP7gCgXMS2HLHWOhxcbpDl0MM5WaTlKS7W6gWAPNq UyaRDIw8+CHtQ== From: trondmy@kernel.org To: Anna Schumaker Cc: linux-nfs@vger.kernel.org Subject: [PATCH v2 11/18] NFS: Remove unused function nfs_wb_page() Date: Thu, 19 Jan 2023 16:33:44 -0500 Message-Id: <20230119213351.443388-12-trondmy@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119213351.443388-11-trondmy@kernel.org> References: <20230119213351.443388-1-trondmy@kernel.org> <20230119213351.443388-2-trondmy@kernel.org> <20230119213351.443388-3-trondmy@kernel.org> <20230119213351.443388-4-trondmy@kernel.org> <20230119213351.443388-5-trondmy@kernel.org> <20230119213351.443388-6-trondmy@kernel.org> <20230119213351.443388-7-trondmy@kernel.org> <20230119213351.443388-8-trondmy@kernel.org> <20230119213351.443388-9-trondmy@kernel.org> <20230119213351.443388-10-trondmy@kernel.org> <20230119213351.443388-11-trondmy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Trond Myklebust Signed-off-by: Trond Myklebust --- fs/nfs/write.c | 5 ----- include/linux/nfs_fs.h | 1 - 2 files changed, 6 deletions(-) diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 442aee011871..77e6c033ca95 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -2115,11 +2115,6 @@ int nfs_wb_folio(struct inode *inode, struct folio *folio) return ret; } -int nfs_wb_page(struct inode *inode, struct page *page) -{ - return nfs_wb_folio(inode, page_folio(page)); -} - #ifdef CONFIG_MIGRATION int nfs_migrate_folio(struct address_space *mapping, struct folio *dst, struct folio *src, enum migrate_mode mode) diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index a61bfd52d551..45c44211e50e 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -580,7 +580,6 @@ extern int nfs_update_folio(struct file *file, struct folio *folio, extern int nfs_sync_inode(struct inode *inode); extern int nfs_wb_all(struct inode *inode); extern int nfs_wb_folio(struct inode *inode, struct folio *folio); -extern int nfs_wb_page(struct inode *inode, struct page *page); int nfs_wb_folio_cancel(struct inode *inode, struct folio *folio); extern int nfs_commit_inode(struct inode *, int); extern struct nfs_commit_data *nfs_commitdata_alloc(void); -- 2.39.0