]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2i: Fix call trace while device reset
authorNilesh Javali <nilesh.javali@qlogic.com>
Tue, 19 May 2015 09:51:58 +0000 (05:51 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 22 Oct 2015 16:08:49 +0000 (09:08 -0700)
commitef62df9325dcbcfa50a73f34c0d4e0622486ed6d
tree36f647cbc99913b0e70ad646e81d680d47ada799
parent76a6aa2020d13f8927d1466b1f3b9864e0d9ceb4
bnx2i: Fix call trace while device reset

Orabug: 22066191

The driver waits for command completion event while cleanup of task
within the frwd lock and back locks. The frwd lock was still held
which caused the call trace while issuing a device reset.
Release the frwd lock along with the back lock
to avoid waiting in the lock context.

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit 35843048e7e979df3b7b9f2ad49e21797a11386b)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/bnx2i/bnx2i_iscsi.c