diff options
author | 2023-06-12 22:01:35 +0100 | |
---|---|---|
committer | 2023-06-19 16:19:31 -0700 | |
commit | 8c6cb3e3d57ef3656716f1855be3dd810b518eab (patch) | |
tree | 0f3ad7559a9216848e34b5b9226ff13d449fa6d3 /mm/page-writeback.c | |
parent | buffer: convert block_page_mkwrite() to use a folio (diff) | |
download | wireguard-linux-8c6cb3e3d57ef3656716f1855be3dd810b518eab.tar.xz wireguard-linux-8c6cb3e3d57ef3656716f1855be3dd810b518eab.zip |
buffer: convert __block_commit_write() to take a folio
This removes a hidden call to compound_head() inside
__block_commit_write() and moves it to those callers which are still page
based. Also make block_write_end() safe for large folios.
Link: https://lkml.kernel.org/r/20230612210141.730128-9-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Bob Peterson <rpeterso@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions