commit | 89a342ca6bfc1a014ff50cce5659abc58e11ecfc | [log] [tgz] |
---|---|---|
author | Mike Maslenkin <mihailm@parallels.com> | Sat Apr 28 05:32:14 2012 +0400 |
committer | James Bottomley <JBottomley@Parallels.com> | Thu May 10 09:06:12 2012 +0100 |
tree | e6e7760d0b953f3f76f3dfd7d16bbcbddca3ab26 | |
parent | 9ebd99c599bcb125acde9b3c98383ebd6e208bc1 [diff] |
[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: Mike Maslenkin <mihailm@parallels.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>