btrfs: convert btrfs_cleanup_ordered_extents() to use folios
authorJosef Bacik <josef@toxicpanda.com>
Wed, 24 Jul 2024 20:46:01 +0000 (16:46 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 Sep 2024 14:51:15 +0000 (16:51 +0200)
commitb38ec94ab95b6aa0c6d636ff264a3b150a32c8ca
treec55e4adeabcc48ce20403e91167645fe5ae0be60
parent42a5947b1c21d2cd156607058f0b844012ac7b6e
btrfs: convert btrfs_cleanup_ordered_extents() to use folios

We walk through pages in this function and clear ordered, and the
function for this uses folios. Update the function to use a folio for
this whole operation.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c