mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-28 10:45:39 +00:00
scst: Introduce the function scst_set_cmd_state()
This patch does not change any functionality. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7482 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+2
-2
@@ -110,7 +110,7 @@
|
||||
** !! Adding new states don't forget to update scst_cmd_state_name
|
||||
** !! as well!
|
||||
*************************************************************/
|
||||
enum {
|
||||
enum scst_cmd_state {
|
||||
/** Active states **/
|
||||
|
||||
/* Dev handler's parse() is going to be called */
|
||||
@@ -2115,7 +2115,7 @@ struct scst_cmd {
|
||||
atomic_t *cpu_cmd_counter;
|
||||
|
||||
/* Cmd state, one of SCST_CMD_STATE_* constants */
|
||||
int state;
|
||||
enum scst_cmd_state state;
|
||||
|
||||
/*************************************************************
|
||||
** Cmd's flags
|
||||
|
||||
Reference in New Issue
Block a user