Re: [PATCH V5] scsi: ufshcd: Fix device links when BOOT WLUN fails to probe
From: Martin K. Petersen
Date: Mon Aug 16 2021 - 23:18:19 EST
On Fri, 6 Aug 2021 16:04:41 +0300, Adrian Hunter wrote:
> Managed device links are deleted by device_del(). However it is possible to
> add a device link to a consumer before device_add(), and then discovering
> an error prevents the device from being used. In that case normally
> references to the device would be dropped and the device would be deleted.
> However the device link holds a reference to the device, so the device link
> and device remain indefinitely (unless the supplier is deleted).
>
> [...]
Applied to 5.15/scsi-queue, thanks!
[1/1] scsi: ufshcd: Fix device links when BOOT WLUN fails to probe
https://git.kernel.org/mkp/scsi/c/bf25967ac541
--
Martin K. Petersen Oracle Linux Engineering