ibmvscsi: Abort init sequence during error recovery
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 23 May 2014 15:52:10 +0000 (10:52 -0500)
committerChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 11:29:32 +0000 (13:29 +0200)
commit9ee755974bea2f9880e517ec985dc9dede1b3a36
tree6c4fa81739927a22a6b8230422ca8e4cdb8c0faa
parent33a5fcee7f5d4920ff33997169e02cc34cbab6e6
ibmvscsi: Abort init sequence during error recovery

If a CRQ reset is triggered for some reason while in the middle
of performing VSCSI adapter initialization, we don't want to
call the done function for the initialization MAD commands as
this will only result in two threads attempting initialization
at the same time, resulting in failures.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/ibmvscsi/ibmvscsi.c