From: Bhanu Prakash Gollapudi Date: Fri, 8 Mar 2013 21:28:52 +0000 (-0800) Subject: [SCSI] bnx2fc: Fix race condition between IO completion and abort X-Git-Tag: v3.10-rc1~3^2~1^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d78f175d0983de8dc0010fcc7c8afc777d4b8ee;p=pandora-kernel.git [SCSI] bnx2fc: Fix race condition between IO completion and abort When IO is successfully completed while an abort is pending, eh_abort incorrectly assumes that abort failed and performes recovery by issuing cleanup. Howerver, cleanup timesout as the firmware has no clue about this IO. Fix this by checking if the IO has already completed. Signed-off-by: Bhanu Prakash Gollapudi Signed-off-by: James Bottomley --- Reading git-diff-tree failed