ipr: Fix sync scsi scan
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 8 Aug 2016 22:53:12 +0000 (17:53 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Aug 2016 17:17:42 +0000 (10:17 -0700)
commita3d1ddd932bc86f0f7027079754ab0aefd259109
tree5a3ace8360b7e4951557e4120d626ff1e4c4999e
parentc4159a75b64c0e67caededf4d7372c1b58a5f42a
ipr: Fix sync scsi scan

Commit b195d5e2bffd ("ipr: Wait to do async scan until scsi host is
initialized") fixed async scan for ipr, but broke sync scan for ipr.

This fixes sync scan back up.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reported-and-tested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/ipr.c