scsi: libiscsi: Annotate locking assumptions
commit1360c58a348e4ec551b58b9f40c3222ff5d6270f
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 30 Jul 2018 21:40:18 +0000 (30 14:40 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 31 Jul 2018 03:17:53 +0000 (30 23:17 -0400)
tree6f3fc21280e56e250e4e4568f92ae1937f9cc650
parent7382f9d8dc0db271da32787fd8559f1ec9f3f4f9
scsi: libiscsi: Annotate locking assumptions

This patch avoids that sparse reports the following:

drivers/scsi/libiscsi.c:1844:23: warning: context imbalance in 'iscsi_exec_task_mgmt_fn' - unexpected unlock

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libiscsi.c