diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-11-17 17:14:47 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-11 01:51:42 +0100 |
commit | af7628d6ec196999175ecb3fdb38336489b0f88a (patch) | |
tree | 81e25bb6e46f83b6975c217c87f456e6bfc6bf8c /block/fops.c | |
parent | memory-failure: convert truncate_error_page to truncate_error_folio (diff) | |
download | linux-af7628d6ec196999175ecb3fdb38336489b0f88a.tar.xz linux-af7628d6ec196999175ecb3fdb38336489b0f88a.zip |
fs: convert error_remove_page to error_remove_folio
There were already assertions that we were not passing a tail page to
error_remove_page(), so make the compiler enforce that by converting
everything to pass and use a folio.
Link: https://lkml.kernel.org/r/20231117161447.2461643-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'block/fops.c')
-rw-r--r-- | block/fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/fops.c b/block/fops.c index 0abaac705daf..0bdad1e8d514 100644 --- a/block/fops.c +++ b/block/fops.c @@ -500,7 +500,7 @@ const struct address_space_operations def_blk_aops = { .readahead = blkdev_readahead, .writepages = blkdev_writepages, .is_partially_uptodate = iomap_is_partially_uptodate, - .error_remove_page = generic_error_remove_page, + .error_remove_folio = generic_error_remove_folio, .migrate_folio = filemap_migrate_folio, }; #endif /* CONFIG_BUFFER_HEAD */ |