extent-io-tests is the last user of find_lock_page() in my tree, so let's convert these two functions. test_find_delalloc() is quite a big function, so I split the conversion up. We could combine these two patches if anyone has a strong opinion. There's no more use of 'struct page' in extent-io-tests after this. Compile tested only. Matthew Wilcox (Oracle) (3): btrfs: Convert test_find_delalloc() to use a folio btrfs: Convert test_find_delalloc() to use a folio, part two btrfs: Simplify dump_eb_and_memory_contents() fs/btrfs/tests/extent-io-tests.c | 89 +++++++++++++++----------------- 1 file changed, 43 insertions(+), 46 deletions(-) -- 2.47.2