aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-05-04 12:04:20 +0100
committerDavid Sterba <[email protected]>2023-06-19 13:59:23 +0200
commit9085f42571e53b56b0087237d2e6258f47424938 (patch)
tree3afbc432d2313724c850731f197f8b9eaf6ca05f /scripts/generate_rust_analyzer.py
parentfbb2e654d898f141a2cde37074535d9cec10b03a (diff)
btrfs: avoid searching twice for previous node when merging free space entries
At try_merge_free_space(), avoid calling twice rb_prev() to find the previous node, as that requires looping through the red black tree, so store the result of the rb_prev() call and then use it. Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions