]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Oct 2012 16:27:58 +0000 (09:27 -0700)
commitb095d61243b5f2333e2ae11a9051cd9d47597002
treece96680c48b4ddadf814b385b0aac388e921e0ba
parent1faef9285ad868082403da1cec5adefc0c505c2e
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/iscsi/iscsi_target.c