Re: [PATCH v2 1/2] scsi: sr: Fix sr_probe() missing mutex_destroy

From: Martin K. Petersen
Date: Tue Jun 09 2020 - 22:03:37 EST


On Sat, 30 May 2020 18:58:25 +0100, Simon Arlott wrote:

> If the device minor cannot be allocated or the cdrom fails to be
> registered then the mutex should be destroyed.

Applied to 5.8/scsi-queue, thanks!

[1/2] scsi: sr: Fix sr_probe() missing mutex_destroy
https://git.kernel.org/mkp/scsi/c/a247e07f8dad
[2/2] scsi: sr: Fix sr_probe() missing deallocate of device minor
https://git.kernel.org/mkp/scsi/c/6555781b3fde

--
Martin K. Petersen Oracle Linux Engineering