aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-05-04 12:04:22 +0100
committerDavid Sterba <[email protected]>2023-06-19 13:59:24 +0200
commit0d6bac4d30b8bdefd1cb97296620141953f409d6 (patch)
tree89fa87bf86743fca4fe4ffbd51966a48a1687a1e /scripts/generate_rust_analyzer.py
parentb77433b144621ebd5d0a6a3b6a3d454fa45b9309 (diff)
btrfs: simplify arguments to tree_insert_offset()
For the in-memory component of space caching (free space cache and free space tree), three of the arguments passed to tree_insert_offset() can always be taken from the new free space entry that we are about to add. So simplify tree_insert_offset() to take the new entry instead of the 'offset', 'node' and 'bitmap' arguments. This will also allow to make further changes simpler. 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