diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-07-28 18:41:23 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-08-07 19:17:18 +0200 |
| commit | e7f4c05a8307701da8bc8d0391540adf6c13fcfe (patch) | |
| tree | f2d318738fff626f57998bed511a3f3ebb008550 /scripts/Makefile.thinlto | |
| parent | 681e073614515b892cacef0eeec0c761a2c2ab87 (diff) | |
| download | linux-stable-e7f4c05a8307701da8bc8d0391540adf6c13fcfe.tar.gz linux-stable-e7f4c05a8307701da8bc8d0391540adf6c13fcfe.zip | |
btrfs: use aligned range for locking in reflink
In btrfs_extent_same_range() and btrfs_clone_files(), the range passed
into btrfs_lock_extent() is not aligned at its end, because we can
reflink until the EOF, which may not be block aligned.
Although this is not a big deal, for the sake of consistency, and to
prepare for the upcoming stricter alignment check, pass an aligned range
end to btrfs_lock_extent() and btrfs_unlock_extent().
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
