aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-05-04 12:04:23 +0100
committerDavid Sterba <[email protected]>2023-06-19 13:59:24 +0200
commit13c2018fcc27b0e2cebf0d3732c36b3ecfddc34c (patch)
tree6b85bb5f1a50784ffa157ca3f1eec781ab0159f9 /scripts/generate_rust_analyzer.py
parent0d6bac4d30b8bdefd1cb97296620141953f409d6 (diff)
btrfs: assert proper locks are held at tree_insert_offset()
There are multiple code paths leading to tree_insert_offset(), and each path takes the necessary locks before tree_insert_offset() is called, since they do other things that require those locks to be held. This makes it easy to miss the locking somewhere, so make tree_insert_offset() assert that the required locks are being held by the calling task. 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