From: Matthew Wilcox (Oracle) Date: Thu, 15 Feb 2024 06:36:37 +0000 (+0100) Subject: writeback: remove a duplicate prototype for tag_pages_for_writeback X-Git-Tag: v6.9-rc1~107^2~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a6e1a8f4cf39cd3d10c52fca639a7d6f30b7004;p=thirdparty%2Fkernel%2Flinux.git writeback: remove a duplicate prototype for tag_pages_for_writeback [hch@lst.de: split from a larger patch] Link: https://lkml.kernel.org/r/20240215063649.2164017-3-hch@lst.de Signed-off-by: Christoph Hellwig Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Brian Foster Reviewed-by: Jan Kara Acked-by: Dave Chinner Cc: Christian Brauner Cc: David Howells Signed-off-by: Andrew Morton --- diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 453736fd1d23c..4b8cf9e4810ba 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);