Critical fix:
[mirror/scst/.git] / scst / include / scsi_tgt.h
index 121fc6a..e6577b4 100644 (file)
@@ -1082,9 +1082,12 @@ struct scst_cmd
         */
        unsigned int preprocessing_only:1;
 
-       /* Set if scst_cmd_set_sn() was called */
+       /* Set if cmd's SN was set */
        unsigned int sn_set:1;
 
+       /* Set if hq_cmd_count was incremented */
+       unsigned int hq_cmd_inced:1;
+
        /*
         * Set if scst_cmd_init_stage1_done() called and the target wants
         * that the SN for the cmd won't be assigned until scst_restart_cmd()