]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit508fc36f3ea50070057e9dbe7c2f7adacf3263a5
treec60145d43096534a189c3ce948e51f5812c9f9f6
parent91a2802e2375cdafc5f2edac3fd0dd0eb34466cc
[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