]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: update stale comment in __cow_file_range_inline()
authorFilipe Manana <fdmanana@suse.com>
Fri, 12 Dec 2025 17:22:36 +0000 (17:22 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:49:10 +0000 (07:49 +0100)
commit6d0f25cdd8e3248ee6e4899722d610083fe5aa6d
tree9f77af1c77eeabff8b3a376b4af099ac1e40d8dd
parent3d47c0c8b57073b1389dd9c53291d81eb8951e18
btrfs: update stale comment in __cow_file_range_inline()

We mention that the reserved data space is page size aligned but that's
not true anymore, as it's sector size aligned instead.
In commit 0bb067ca64e3 ("btrfs: fix the qgroup data free range for inline
data extents") we updated the amount passed to btrfs_qgroup_free_data()
from page size to sector size, but forgot to update the comment.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c