Skip to content

Commit

Permalink
mm: Export writeback_iter()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
David Howells committed May 1, 2024
1 parent d9f85a0 commit 5a550a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -2546,6 +2546,7 @@ struct folio *writeback_iter(struct address_space *mapping,
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.
Expand Down

0 comments on commit 5a550a0

Please sign in to comment.