[PATCH v3] scsi: sg: Avoid race in error handling & drop bogus warn

Martin K. Petersen martin.petersen at oracle.com
Fri Apr 5 09:22:40 AEDT 2024


Alexander,

> commit 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race")
> introduced an incorrect WARN_ON_ONCE() and missed a sequence where
> sg_device_destroy() was used after scsi_device_put().

Applied to 6.9/scsi-fixes, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering


More information about the Linuxppc-dev mailing list