mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
scst_targ: Clarify a comment
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5465 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1540,7 +1540,10 @@ void scst_rx_data(struct scst_cmd *cmd, int status,
|
||||
break;
|
||||
#endif
|
||||
|
||||
/* Small context optimization */
|
||||
/*
|
||||
* Make sure that the exec phase runs in thread context since
|
||||
* invoking I/O functions from atomic context is not allowed.
|
||||
*/
|
||||
if ((pref_context == SCST_CONTEXT_TASKLET) ||
|
||||
(pref_context == SCST_CONTEXT_DIRECT_ATOMIC) ||
|
||||
((pref_context == SCST_CONTEXT_SAME) &&
|
||||
|
||||
Reference in New Issue
Block a user