Re: [PATCH] btrfs: fix unbalanced unlock in qgroup_account_snapshot()

From
David Sterba <hidden>
Date
2021-06-21 16:22:09
Also in
linux-btrfs
Reply to
Naohiro Aota, 2021-06-21
On Mon, Jun 21, 2021 at 10:21:14AM +0900, Naohiro Aota wrote:
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: stable <redacted> # 5.12
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Added to misc-next, thanks.
Thread (3 messages) 3 messages, 3 authors, last reply 2021-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help