[SCSI] bnx2fc: cleanup task management IO when it times out.
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 24 Apr 2012 22:26:03 +0000 (15:26 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 22 May 2012 09:01:26 +0000 (10:01 +0100)
commit92886c9c97fd20dde26a12cd9f43cd3c786bc8ea
treef596efc0039eb8db32baa03d9a3f9a2ac09f7dda
parentc1bb4f33de87ad18ace1cf484ed0c78683d933a1
[SCSI] bnx2fc: cleanup task management IO when it times out.

When the task management IO times out, or a flush operation is performed while
task management IO is pending, driver is not cleaning up the IO. This patch
cleans up the IO for the above cases.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_io.c
drivers/scsi/bnx2fc/bnx2fc_tgt.c