Commit 5a550a0c authored by David Howells's avatar David Howells

mm: Export writeback_iter()

Export writeback_iter() so that it can be used by netfslib as a module.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
cc: Matthew Wilcox (Oracle) <willy@infradead.org>
cc: Christoph Hellwig <hch@lst.de>
cc: linux-mm@kvack.org
parent d9f85a04
...@@ -2546,6 +2546,7 @@ struct folio *writeback_iter(struct address_space *mapping, ...@@ -2546,6 +2546,7 @@ struct folio *writeback_iter(struct address_space *mapping,
folio_batch_release(&wbc->fbatch); folio_batch_release(&wbc->fbatch);
return NULL; return NULL;
} }
EXPORT_SYMBOL_GPL(writeback_iter);
/** /**
* write_cache_pages - walk the list of dirty pages of the given address space and write all of them. * write_cache_pages - walk the list of dirty pages of the given address space and write all of them.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment