diff options
author | Naohiro Aota <[email protected]> | 2021-06-21 10:21:14 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2021-06-22 14:11:57 +0200 |
commit | 44365827cccc1441d4187509257e5276af133a49 (patch) | |
tree | 46aba540e595f9d330dc83f3f48edc26c7bca10d /scripts/gdb/linux | |
parent | da658b5708c68b03b395b7c5c50bae47826db8cc (diff) |
btrfs: fix unbalanced unlock in qgroup_account_snapshot()
qgroup_account_snapshot() is trying to unlock the not taken
tree_log_mutex in a error path. Since ret != 0 in this case, we can
just return from here.
Fixes: 2a4d84c11a87 ("btrfs: move delayed ref flushing for qgroup into qgroup helper")
CC: [email protected] # 5.12+
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions