scsi_dh: create sysfs file, dh_state for all SCSI disk devices
authorChandra Seetharaman <sekharan@us.ibm.com>
Fri, 11 Sep 2009 17:20:35 +0000 (10:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:01:22 +0000 (15:01 -0800)
commitd502a766937129c5965bc88b8740a9362b9b263b
treebe2303c9f9f280e125b9d866a713b52958b4f82e
parente7c8167e4e6fc9c66740e3984add69154bf30a90
scsi_dh: create sysfs file, dh_state for all SCSI disk devices

commit 5917290ce9b376866b165d02a5ed88d5ecdb32d0 upstream.

Create the sysfs file, dh_state even if the new SCSI device is not
in the any of the device handler's internal lists.

Signed-Off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/device_handler/scsi_dh.c