btrfs: convert fallback_to_cow() to take a folio
authorJosef Bacik <josef@toxicpanda.com>
Wed, 24 Jul 2024 20:40:34 +0000 (16:40 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 Sep 2024 14:51:15 +0000 (16:51 +0200)
commit39bbc56a9cb135a32d29ea534a9f219c4c406ea7
treef89c804d6d3cc2be86b4ce63c8e4e01cf66f15c5
parent4cf7e0562f5f1819d658f8bc6349a787bafc9da6
btrfs: convert fallback_to_cow() to take a folio

With this we can pass the folio directly into cow_file_range().

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