summaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-02-15 07:36:37 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-02-24 02:48:35 +0100
commit2a6e1a8f4cf39cd3d10c52fca639a7d6f30b7004 (patch)
tree7c6d1f575ebeff5bf0bab2f1ba56d7f43a017b96 /include/linux/writeback.h
parentwriteback: don't call mapping_set_error on AOP_WRITEPAGE_ACTIVATE (diff)
downloadlinux-2a6e1a8f4cf39cd3d10c52fca639a7d6f30b7004.tar.xz
linux-2a6e1a8f4cf39cd3d10c52fca639a7d6f30b7004.zip
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 <hch@lst.de> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz> Acked-by: Dave Chinner <dchinner@redhat.com> Cc: Christian Brauner <brauner@kernel.org> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/linux/writeback.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index 453736fd1d23..4b8cf9e4810b 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);