scst_lib: Fix scst_prepare_request_sense()

See also https://sourceforge.net/p/scst/tickets/49/.

Reported-by: Philip Pritchard
Fixes: f16c5d1b2e ("scst: Rework scst_prepare_request_sense()")


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9345 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-02-24 04:43:25 +00:00
parent a30623edbc
commit f4dfc85312

View File

@@ -5891,6 +5891,8 @@ int scst_prepare_request_sense(struct scst_cmd *orig_cmd)
wake_up(&rs_cmd->cmd_threads->cmd_list_waitQ);
spin_unlock_irq(&rs_cmd->cmd_threads->cmd_list_lock);
res = 0;
out:
TRACE_EXIT_RES(res);
return res;