]> git.hungrycats.org Git - linux/commit
btrfs: remove the free space inode special cases from the COW paths
authorTal Zussman <tz2294@columbia.edu>
Thu, 15 Oct 2026 14:43:29 +0000 (10:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Fri, 16 Oct 2026 17:06:57 +0000 (19:06 +0200)
commit773103df5b38bc157c2dde32f7f65b214f5955b0
treeb5fdf1e6b06685bf84dbaaa056948e819ff0a6ff
parentf66fe78582d64643ec9ad65ba043ab0148cce71f
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: LLM
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c