]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:06 +0000 (08:22 +0800)
commitacbc1847d74859c1cc9cd53705020ec94b217443
tree8ef4194ec70ca0de6774f7900ed5a4e546fd224f
parent20867cd0ab58cb760a694fc86995a49ca733ecf7
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.

(cherry picked from commit c1bb4f33de87ad18ace1cf484ed0c78683d933a1)
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_io.c
drivers/scsi/bnx2fc/bnx2fc_tgt.c