aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2021-10-21 14:58:31 -0400
committerDavid Sterba <[email protected]>2022-01-03 15:09:42 +0100
commit227f3cd0d5a157c30480e2cd95f4271be1ace7bc (patch)
tree3f029cb937f388b5fb72682217267764bd772da3 /tools/perf/scripts/python
parentccae4a19c9140a34a0c5f0658812496dd8bbdeaf (diff)
btrfs: use btrfs_item_size_nr/btrfs_item_offset_nr everywhere
We have this pattern in a lot of places item = btrfs_item_nr(slot); btrfs_item_size(leaf, item); when we could simply use btrfs_item_size(leaf, slot); Fix all callers of btrfs_item_size() and btrfs_item_offset() to use the _nr variation of the helpers. Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions