diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-24 19:00:48 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 14:49:39 +0300 |
commit | f143f1ea5a5380b2682e6836fcd24338a2aa82c7 (patch) | |
tree | 3912ce46f28ad878eea5e51020833563f54c7b53 /lib/livepatch | |
parent | 269ccca3899f6bce49e004f50f623e0b161fb027 (diff) | |
download | linux-f143f1ea5a5380b2682e6836fcd24338a2aa82c7.tar.xz |
mm/writeback: Add folio_start_writeback()
Rename set_page_writeback() to folio_start_writeback() to match
folio_end_writeback(). Do not bother with wrappers that return void;
callers are perfectly capable of ignoring return values.
Add wrappers for set_page_writeback(), set_page_writeback_keepwrite() and
test_set_page_writeback() for compatibililty with existing filesystems.
The main advantage of this patch is getting the statistics right,
although it does eliminate a couple of calls to compound_head().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions