iscsit: remove incorrect unlock in iscsit_build_sendtargets_resp
authorChristoph Hellwig <hch@infradead.org>
Wed, 26 Sep 2012 12:00:37 +0000 (08:00 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:25 +0000 (03:49 +0100)
commit5b84d8279eb9fa68c1e8eb3e79cf1e42607dfd1e
treed4b56666a0d52a18df96c9462dd87cb66d8794be
parent0450a208da987620b839d0eecd6dbf3bb50b38e8
iscsit: remove incorrect unlock in iscsit_build_sendtargets_resp

commit 904753da183566c71211d23c169a80184648c121 upstream.

Fix a potential multiple spin-unlock -> deadlock scenario during the
overflow check within iscsit_build_sendtargets_resp() as found by
sparse static checking.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/target/iscsi/iscsi_target.c