mm: Export writeback_iter()
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Mar 2024 16:18:49 +0000 (16:18 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:07:35 +0000 (18:07 +0100)
Export writeback_iter() so that it can be used by netfslib as a module.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: Matthew Wilcox (Oracle) <willy@infradead.org>
cc: Christoph Hellwig <hch@lst.de>
cc: linux-mm@kvack.org

mm/page-writeback.c

index 3e19b87049db1742dc12c0ce2d246f68e026d012..06fc89d981e8b59cf9ff24727297ab2be46ac632 100644 (file)
@@ -2546,6 +2546,7 @@ done:
        folio_batch_release(&wbc->fbatch);
        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.