[PATCH 05/19] writeback: remove a duplicate prototype for tag_pages_for_writeback

From: Christoph Hellwig
Date: Thu Jan 25 2024 - 04:00:07 EST


From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
[hch: split from a larger patch]
Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Reviewed-by: Jan Kara <jack@xxxxxxx>
Acked-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
include/linux/writeback.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index 453736fd1d23ce..4b8cf9e4810bad 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -363,8 +363,6 @@ bool wb_over_bg_thresh(struct bdi_writeback *wb);
typedef int (*writepage_t)(struct folio *folio, struct writeback_control *wbc,
void *data);

-void tag_pages_for_writeback(struct address_space *mapping,
- pgoff_t start, pgoff_t end);
int write_cache_pages(struct address_space *mapping,
struct writeback_control *wbc, writepage_t writepage,
void *data);
--
2.39.2