As found by sparse. Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: lio-core/drivers/target/iscsi/iscsi_target.c =================================================================== --- lio-core.orig/drivers/target/iscsi/iscsi_target.c 2012-09-26 10:39:43.732450226 +0200 +++ lio-core/drivers/target/iscsi/iscsi_target.c 2012-09-26 10:39:50.512450162 +0200 @@ -3274,7 +3274,6 @@ static int iscsit_build_sendtargets_resp len += 1; if ((len + payload_len) > buffer_len) { - spin_unlock(&tiqn->tiqn_tpg_lock); end_of_buf = 1; goto eob; } -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html