[SCSI] scsi_dh: Check for sdev state in store_dh_state()
commit6bc8d2a0c6bb3e52f0c66e6cde6799d1b90b42ba
authorHannes Reinecke <hare@suse.de>
Wed, 24 Aug 2011 08:51:17 +0000 (24 10:51 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 30 Aug 2011 19:31:24 +0000 (30 12:31 -0700)
tree4cbd2d0447b7136ef30bd3460423853e9a02871c
parent46ccf6b55bfa9fff7d0a9da761f186e98cf2f660
[SCSI] scsi_dh: Check for sdev state in store_dh_state()

Avoid attaching a hardware handler to a device which is
already scheduled for deletion.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh.c