bnx2i: Fix call trace while device reset
authorNilesh Javali <nilesh.javali@qlogic.com>
Tue, 19 May 2015 09:51:58 +0000 (05:51 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 3 Jun 2015 00:15:24 +0000 (17:15 -0700)
commit35843048e7e979df3b7b9f2ad49e21797a11386b
treed5a3da6137c62296738dd1b0c690378f7476b28c
parent5fc956c243852608db1e4ef74b92bb4445313912
bnx2i: Fix call trace while device reset

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>
drivers/scsi/bnx2i/bnx2i_iscsi.c