aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-06-08 11:27:47 +0100
committerDavid Sterba <[email protected]>2023-06-19 13:59:39 +0200
commitf61aa7ba08abc09eaf8eb766d9469e9393c22dbf (patch)
tree1283aa6f31fb405e6fb30168bfe251d98efd86ca /scripts/generate_rust_analyzer.py
parent11d6ae03557e34dd2bc9e57d1a5139ab3c7be54f (diff)
btrfs: do not BUG_ON() on tree mod log failure at insert_new_root()
At insert_new_root(), instead of doing a BUG_ON() in case we fail to record the tree mod log operation, just return the error to the callers after releasing the allocated tree block. At this point we haven't made any changes to the b+tree, so we haven't left it in an inconsistent state and therefore have no need to abort the transaction. All we need to do is to unlock and free the extent buffer we just allocated with the purpose of making it the new root. Reviewed-by: Qu Wenruo <[email protected]> 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