From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Le Moal Date: Mon, 11 Jul 2022 13:48:07 +0900 Subject: [Cluster-devel] [PATCH 4/4] iomap: remove iomap_writepage In-Reply-To: <20220711041459.1062583-5-hch@lst.de> References: <20220711041459.1062583-1-hch@lst.de> <20220711041459.1062583-5-hch@lst.de> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 7/11/22 13:14, Christoph Hellwig wrote: > 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); Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research