]> git.hungrycats.org Git - linux/commit
btrfs: remove the free space inode special cases from the COW paths
authorTal Zussman <tz2294@columbia.edu>
Thu, 17 Sep 2026 04:00:10 +0000 (00:00 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 17 Sep 2026 17:49:48 +0000 (19:49 +0200)
commitbabc1b1d88126694a815be0cc62b4824dd85a263
tree74d127970324782d8800a374b3cad5c8e01f6f07
parent869ea0cc13a7c7dafa7af71718e9ec9161f470dc
btrfs: remove the free space inode special cases from the COW paths

Free space inodes are never written anymore, so drop the special cases
for them in cow_file_range(), fallback_to_cow(),
can_nocow_file_extent() and btrfs_finish_one_ordered().

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c