This patchset replaces the remaining calls of try_to_release_page() with the folio equivalent: filemap_release_folio(). This allows us to remove the wrapper. The set passes fstests on ext4 and xfs. --- v3: Fixed a mistake with a VM_BUG_ON_FOLIO check v2: Added VM_BUG_ON_FOLIO to ext4 for catching future data corruption Vishal Moola (Oracle) (4): ext4: Convert move_extent_per_page() to use folios khugepage: Replace try_to_release_page() with filemap_release_folio() memory-failure: Convert truncate_error_page() to use folio folio-compat: Remove try_to_release_page() fs/ext4/move_extent.c | 52 ++++++++++++++++++++++++----------------- include/linux/pagemap.h | 1 - mm/folio-compat.c | 6 ----- mm/khugepaged.c | 23 +++++++++--------- mm/memory-failure.c | 5 ++-- 5 files changed, 46 insertions(+), 41 deletions(-) -- 2.38.1