[SCSI] ibmvfc: Fix double completion on abort timeout
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 24 Aug 2012 21:50:59 +0000 (16:50 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:58 +0000 (12:10 +0400)
commita077c7faf3cb3e28303ba431148a85f613f4e955
treec60145d43096534a189c3ce948e51f5812c9f9f6
parent7731e6bb312ec8bb7892c465401dbc7119aea785
[SCSI] ibmvfc: Fix double completion on abort timeout

If an abort request times out to the virtual fibre channel adapter,
the ibmvfc driver will kick off a reset of the adapter. This
patch ensures we wait for the both the abort request and the
request being aborted to be completed prior to exiting the
eh_abort handler. This fixes a bug where the ibmvfc driver
was erroneously returning success to the eh_abort handler
then later sending back a response to the same command.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ibmvscsi/ibmvfc.c