diff options
author | 2025-03-13 14:25:39 +0000 | |
---|---|---|
committer | 2025-03-18 20:35:54 +0100 | |
commit | 5fbfb3f01d298077ce749a0381369202f456a9f7 (patch) | |
tree | 1ca64828d9e7a4dc71b2f81e08b65ac4be7e168c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | btrfs: avoid unnecessary memory allocation and copy at overwrite_item() (diff) | |
download | linux-rng-5fbfb3f01d298077ce749a0381369202f456a9f7.tar.xz linux-rng-5fbfb3f01d298077ce749a0381369202f456a9f7.zip |
btrfs: use variables to store extent buffer and slot at overwrite_item()
Instead of referring to path->nodes[0] and path->slots[0] multiple times,
which is verbose and confusing since we have an 'eb' and 'slot' variables
as well, introduce local variables 'dst_eb' to point to path->nodes[0] and
'dst_slot' to have path->slots[0], reducing verbosity and making it more
obvious about which extent buffer and slot we are referring to.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions