summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-11-12 17:10:25 +0000
committerDavid Sterba <dsterba@suse.com>2026-11-23 18:17:06 +0100
commitbeed53bd3cb5f0b0a0aad453aa6f0b49060ff2dc (patch)
tree174e8fd0ce0812b42f12c7a8d9ad19d63b7683ef /tools/perf/scripts/python/bin
parent398ee8a011d9187e83fc24738b3391e508da91da (diff)
btrfs: send: fix invalid access to inline extents in clone_range()
We can't access the disk_bytenr and offset fields of a file extent item that represents an inline extent, since the extent's data starts at the offset of the disk_bytenr field and the offset field is after that, so both fields point either to inline data or beyond the file extent item in case the data is too small. Fix this by not reading the disk_bytenr and offset fields if we are dealing with an inline extent. Link: https://sashiko.dev/#/bug/linux-b662b951-0491-465b-a262-f01a108d8146 Fixes: 040ee6120cb6 ("Btrfs: send, improve clone range") Fixes: d906d49fc5f4 ("Btrfs: send, fix file corruption due to incorrect cloning operations") 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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions