|
From: <vl...@us...> - 2015-01-20 04:18:10
|
Revision: 5977
http://sourceforge.net/p/scst/svn/5977
Author: vlnb
Date: 2015-01-20 04:18:07 +0000 (Tue, 20 Jan 2015)
Log Message:
-----------
Revert r5964 as not needed
Revision Links:
--------------
http://sourceforge.net/p/scst/svn/5964
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2015-01-16 16:20:10 UTC (rev 5976)
+++ trunk/scst/src/scst_targ.c 2015-01-20 04:18:07 UTC (rev 5977)
@@ -1738,17 +1738,9 @@
out_descr:
if (unlikely(cmd->op_flags & SCST_DESCRIPTORS_BASED)) {
- if (scst_cmd_atomic(cmd)) {
- /*
- * Switch to thread context such that
- * scst_parse_descriptors() can use GFP_KERNEL instead
- * of GFP_ATOMIC.
- */
- res = SCST_CMD_STATE_RES_NEED_THREAD;
+ int r = scst_parse_descriptors(cmd);
+ if (unlikely(r != 0))
goto out;
- }
- if (unlikely(scst_parse_descriptors(cmd) != 0))
- goto out;
}
out:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|