Re: [PATCH 5.10 / 5.4 / 4.19] btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 14, 2024 at 08:06:49AM +0900, Dominique Martinet wrote:
> [ Upstream commit 9af503d91298c3f2945e73703f0e00995be08c30 ]
> 
> 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%2fHpAGFqa7YAFuM@xxxxxxxxxx
> Reported-by: Pavel Machek <pavel@xxxxxxx>
> Fixes: 7411055db5ce ("btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Pavel Machek <pavel@xxxxxxx>
> Signed-off-by: Dominique Martinet <dominique.martinet@xxxxxxxxxxxxxxxxx>
> Reviewed-by: David Sterba <dsterba@xxxxxxxx>
> Signed-off-by: David Sterba <dsterba@xxxxxxxx>
> Signed-off-by: Dominique Martinet <dominique.martinet@xxxxxxxxxxxxxxxxx>
> ---
> The conflict is in 7411055db5ce ("btrfs: handle chunk tree lookup error
> in btrfs_relocate_sys_chunks()") but that no longer cleanly applies
> after the backport of 7411055db5ce ("btrfs: handle chunk tree lookup
> error in btrfs_relocate_sys_chunks()"); it's probably simpler to just
> use the old mutex name directly.
> 
> This commit applies and builds on 4.19.313, 5.4.275 and 5.10.216

Now queued up, thanks.

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux