]> git.karo-electronics.de Git - mv-sheeva.git/commit
[SCSI] scsi_dh: Check for sdev state in store_dh_state()
authorHannes Reinecke <hare@suse.de>
Wed, 24 Aug 2011 08:51:17 +0000 (10:51 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 30 Aug 2011 19:31:24 +0000 (12:31 -0700)
commit6bc8d2a0c6bb3e52f0c66e6cde6799d1b90b42ba
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