|
From: <vl...@us...> - 2011-05-20 19:09:52
|
Revision: 3466
http://scst.svn.sourceforge.net/scst/?rev=3466&view=rev
Author: vlnb
Date: 2011-05-20 19:09:45 +0000 (Fri, 20 May 2011)
Log Message:
-----------
On NEED_THREAD current function should be immediately finished
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2011-05-20 16:38:57 UTC (rev 3465)
+++ trunk/scst/src/scst_targ.c 2011-05-20 19:09:45 UTC (rev 3466)
@@ -1293,7 +1293,7 @@
"rdy_to_xfer() requested thread "
"context, rescheduling", tgtt->name);
res = SCST_CMD_STATE_RES_NEED_THREAD;
- break;
+ goto out;
default:
goto out_error_rc;
@@ -3332,7 +3332,7 @@
"thread context, rescheduling",
dev->handler->name);
res = SCST_CMD_STATE_RES_NEED_THREAD;
- break;
+ goto out;
#ifdef CONFIG_SCST_EXTRACHECKS
default:
if (state >= 0) {
@@ -3560,7 +3560,7 @@
"requested thread context, rescheduling",
tgtt->name);
res = SCST_CMD_STATE_RES_NEED_THREAD;
- break;
+ goto out;
default:
goto out_error;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|