[SCSI] bnx2fc: Decrememnt io ref count when abort times out
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 24 Apr 2012 22:26:02 +0000 (15:26 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 22 May 2012 09:00:06 +0000 (10:00 +0100)
commitc1bb4f33de87ad18ace1cf484ed0c78683d933a1
treec141deace94fc5d923d19bb4e85bacf506bce215
parentde9c05fafc296aa95b58352bad7f23f6199aa90d
[SCSI] bnx2fc: Decrememnt io ref count when abort times out

When IO abort times out during eh_abort or a flush operation is performed while
abort is pending, the driver is not cleaning up the IO and thus not reducing
the IO reference count. With this change, as part of explicit logout, the IO is
cleaned up.

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