diff options
| author | Christoph Hellwig <[email protected]> | 2023-03-28 14:19:52 +0900 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-04-17 18:01:21 +0200 |
| commit | 8f4af4b8e1227291bbeaee4b0f2e7f494d9dd2c1 (patch) | |
| tree | 9fa8487fbc15db33db6ae814168d9abc6d625626 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 11d33ab6c1f3096194febc6b67c250b3476effa2 (diff) | |
btrfs: sink parameter len to btrfs_split_ordered_extent
btrfs_split_ordered_extent is only ever asked to split out the beginning
of an ordered_extent (i.e. post == 0). Change it to only take a len to
split out, and switch it to allocate the new extent for the beginning,
as that helps with callers that want to keep a pointer to the
ordered_extent that it is stealing from.
Reviewed-by: Naohiro Aota <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Tested-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions