This patch series replaces find_get_pages_contig() with filemap_get_folios_contig(). I've run xfstests on btrfs. I've also tested the ramfs changes. I ran some xfstests on nilfs2, and its seemingly fine although more testing may be beneficial. --- v2: - Removed an unused label in nilfs2 Vishal Moola (Oracle) (7): filemap: Add filemap_get_folios_contig() btrfs: Convert __process_pages_contig() to use filemap_get_folios_contig() btrfs: Convert end_compressed_writeback() to use filemap_get_folios() btrfs: Convert process_page_range() to use filemap_get_folios_contig() nilfs2: Convert nilfs_find_uncommited_extent() to use filemap_get_folios_contig() ramfs: Convert ramfs_nommu_get_unmapped_area() to use filemap_get_folios_contig() filemap: Remove find_get_pages_contig() fs/btrfs/compression.c | 26 ++++++------ fs/btrfs/extent_io.c | 33 +++++++-------- fs/btrfs/subpage.c | 2 +- fs/btrfs/tests/extent-io-tests.c | 31 +++++++------- fs/nilfs2/page.c | 39 ++++++++---------- fs/ramfs/file-nommu.c | 50 ++++++++++++---------- include/linux/pagemap.h | 4 +- mm/filemap.c | 71 +++++++++++++++++++------------- 8 files changed, 134 insertions(+), 122 deletions(-) -- 2.36.1