scsi_dh: return SCSI_DH_NOTCONN in scsi_dh_activate()
authorHannes Reinecke <hare@suse.de>
Thu, 27 Aug 2015 12:17:02 +0000 (14:17 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 28 Aug 2015 20:14:58 +0000 (13:14 -0700)
commit710105fda7a7f350c9fb22e7f61f74c3dc0fe514
tree17009dff39cb2ee29652ec71aa7e610da08cb4cc
parentd44227749500d8b88a1c079bc04f69187eaf8747
scsi_dh: return SCSI_DH_NOTCONN in scsi_dh_activate()

When calling scsi_dh_activate() we should be returning
SCSI_DH_NOTCONN if the device handler couldn't be attached.

Reviewed-by: Bart van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/scsi_dh.c