From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8A02CCA47B for ; Mon, 11 Jul 2022 04:15:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbiGKEPV (ORCPT ); Mon, 11 Jul 2022 00:15:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbiGKEPU (ORCPT ); Mon, 11 Jul 2022 00:15:20 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73C8E18B30; Sun, 10 Jul 2022 21:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=coXs7fZqtjdeX2Tzle8EdrF+O0+NaGLuimvWE8sIgts=; b=Tt6n//qoWHWsmWJA3vCeCXOqRg xzyPNEaoIqC67drpSr97P02ADJ9JuDeK40PKwOnc8R9i9F22UjtnxyMTdSP2Nw2xh+wSqfDNJtSDq RKItZpUL4YsBk4XYQdwq5mQNJ6QL92iY6CA2UNr+4mvW0VZAW8Sc48srasnlpQzllaw2mkX64eCDD 4VgIdVi6qe8YvEP0JByfBqzoUUOtCtUUDxyluN4lNdIeFKuR1ha6uOVctCoYO9D3tRaS6sEQmdo4E zJ0Tzo9RnYWIPcFJUk6N5W8j7AyYxcERNseBQO+93/yqMEhaiYxTEXqwoWc15ilSg8HJUBc2JDVeP qk63xVvg==; Received: from 089144197153.atnat0006.highway.a1.net ([89.144.197.153] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oAkpF-00Fpxf-Jo; Mon, 11 Jul 2022 04:15:14 +0000 From: Christoph Hellwig To: Bob Peterson , Andreas Gruenbacher , "Darrick J. Wong" , Damien Le Moal , Naohiro Aota Cc: Johannes Thumshirn , cluster-devel@redhat.com, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 4/4] iomap: remove iomap_writepage Date: Mon, 11 Jul 2022 06:14:59 +0200 Message-Id: <20220711041459.1062583-5-hch@lst.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220711041459.1062583-1-hch@lst.de> References: <20220711041459.1062583-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Unused now. Signed-off-by: Christoph Hellwig --- fs/iomap/buffered-io.c | 15 --------------- include/linux/iomap.h | 3 --- 2 files changed, 18 deletions(-) diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c index d2a9f699e17ed..1bac8bda40d0c 100644 --- a/fs/iomap/buffered-io.c +++ b/fs/iomap/buffered-io.c @@ -1518,21 +1518,6 @@ iomap_do_writepage(struct page *page, struct writeback_control *wbc, void *data) return 0; } -int -iomap_writepage(struct page *page, struct writeback_control *wbc, - struct iomap_writepage_ctx *wpc, - const struct iomap_writeback_ops *ops) -{ - int ret; - - wpc->ops = ops; - ret = iomap_do_writepage(page, wbc, wpc); - if (!wpc->ioend) - return ret; - return iomap_submit_ioend(wpc, wpc->ioend, ret); -} -EXPORT_SYMBOL_GPL(iomap_writepage); - int iomap_writepages(struct address_space *mapping, struct writeback_control *wbc, struct iomap_writepage_ctx *wpc, diff --git a/include/linux/iomap.h b/include/linux/iomap.h index e552097c67e0b..911888560d3eb 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -303,9 +303,6 @@ void iomap_finish_ioends(struct iomap_ioend *ioend, int error); void iomap_ioend_try_merge(struct iomap_ioend *ioend, struct list_head *more_ioends); void iomap_sort_ioends(struct list_head *ioend_list); -int iomap_writepage(struct page *page, struct writeback_control *wbc, - struct iomap_writepage_ctx *wpc, - const struct iomap_writeback_ops *ops); int iomap_writepages(struct address_space *mapping, struct writeback_control *wbc, struct iomap_writepage_ctx *wpc, const struct iomap_writeback_ops *ops); -- 2.30.2