Tags: amazonlinux/linux
Tags
Last verified commit 5b7b59c2c9da7ae2dcd1a360f68c945fd9171718
scsi: core: Fix error handling for scsi_alloc_sdev() [ Upstream commit 4ce7ada ] After scsi_sysfs_device_initialize() was called, error paths must call __scsi_remove_device(). Fixes: 1ac22c8 ("scsi: core: Fix refcount leak for tagset_refcnt") Cc: [email protected] Signed-off-by: Junxiao Bi <[email protected]> Reviewed-by: John Garry <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Martin K. Petersen <[email protected]> Signed-off-by: Gyokhan Kochmarla <[email protected]>
PreviousNext