Commit 9af503d
btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()
The previous patch that replaced BUG_ON by error handling forgot to
unlock the mutex in the error path.
Link: https://lore.kernel.org/all/Zh%[email protected]
Reported-by: Pavel Machek <[email protected]>
Fixes: 7411055 ("btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()")
CC: [email protected]
Reviewed-by: Pavel Machek <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>1 parent fe1c6c7 commit 9af503d
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3419 | 3419 | | |
3420 | 3420 | | |
3421 | 3421 | | |
| 3422 | + | |
3422 | 3423 | | |
3423 | 3424 | | |
3424 | 3425 | | |
| |||
0 commit comments