scsi_dh: move 'dh_state' sysfs attribute to generic code
authorHannes Reinecke <hare@suse.de>
Tue, 1 Dec 2015 09:16:41 +0000 (10:16 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Dec 2015 21:29:19 +0000 (16:29 -0500)
commit41f95dd2efd80a611c8566888fcdcb5d399ea474
treee5c706b5eef78f4a7b6be962e7245fbd5d45a72b
parent7789cd39274c51bf475411fe22a8ee7255082809
scsi_dh: move 'dh_state' sysfs attribute to generic code

As scsi_dh.c is now always compiled in we should be moving
the 'dh_state' attribute to the generic code.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_dh.c
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_sysfs.c