Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89a342ca authored by Mike Maslenkin's avatar Mike Maslenkin Committed by James Bottomley
Browse files

[SCSI] scsi_transport_spi: fix for unbalanced reference counting



Check the domain validation flag on the given device before referencing
scsi_device instance, otherwise if the flag is already set we return without
decrementing the reference count.

Signed-off-by: default avatarMike Maslenkin <mihailm@parallels.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 9ebd99c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment