diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 974dadc97..26d2f5ce2 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -2850,6 +2850,8 @@ static bool iscsi_is_delay_tm_resp(struct iscsi_cmnd *rsp) /* Called under sn_lock, but might drop it inside, then reaquire */ static void iscsi_check_send_delayed_tm_resp(struct iscsi_session *sess) + __acquires(&sn_lock) + __releases(&sn_lock) { struct iscsi_cmnd *tm_rsp = sess->tm_rsp; diff --git a/iscsi-scst/kernel/nthread.c b/iscsi-scst/kernel/nthread.c index ce4e41044..c4d587a50 100644 --- a/iscsi-scst/kernel/nthread.c +++ b/iscsi-scst/kernel/nthread.c @@ -910,6 +910,8 @@ static int process_read_io(struct iscsi_conn *conn, int *closed) * then reaquire. */ static void scst_do_job_rd(void) + __acquires(&iscsi_rd_lock) + __releases(&iscsi_rd_lock) { TRACE_ENTRY(); @@ -1591,6 +1593,8 @@ static int process_write_queue(struct iscsi_conn *conn) * then reaquire. */ static void scst_do_job_wr(void) + __acquires(&iscsi_wr_lock) + __releases(&iscsi_wr_lock) { TRACE_ENTRY(); diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 4e9391708..62ff7d352 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -455,6 +455,8 @@ static int scst_local_send_resp(struct scsi_cmnd *cmnd, */ static int scst_local_queuecommand(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) + __acquires(&h->host_lock) + __releases(&h->host_lock) { struct scst_local_tgt_specific *tgt_specific = NULL; struct scst_local_host_info *scst_lcl_host;