ipr: Wait to do async scan until scsi host is initialized
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 15 Jul 2016 19:48:03 +0000 (14:48 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Jul 2016 04:32:07 +0000 (00:32 -0400)
commitb195d5e2bffd3de3f07e8683e6abddf099ea0822
tree8b605a7a6e0b292df21074f70be25ab975cf82d9
parentb2c0627c26afcef0ac115e9505ea9d1db5d88c9b
ipr: Wait to do async scan until scsi host is initialized

When performing an async scan, make sure the kthread doing scanning
doesn't start before the scsi host is fully initialized.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h