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:
Bart Van Assche
2018-09-27 02:28:16 +00:00
parent f1357f410e
commit eeed9fc41e
4 changed files with 50 additions and 43 deletions
+2 -2
View File
@@ -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