diff options
-rw-r--r-- | drivers/target/target_core_transport.c | 1 | ||||
-rw-r--r-- | include/target/target_core_base.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 1c53fcec1133..82946962796d 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -1933,7 +1933,6 @@ static void target_execute_cmd(struct se_cmd *cmd) | |||
1933 | 1933 | ||
1934 | if (atomic_read(&dev->dev_ordered_sync) != 0) { | 1934 | if (atomic_read(&dev->dev_ordered_sync) != 0) { |
1935 | spin_lock(&dev->delayed_cmd_lock); | 1935 | spin_lock(&dev->delayed_cmd_lock); |
1936 | cmd->se_cmd_flags |= SCF_DELAYED_CMD_FROM_SAM_ATTR; | ||
1937 | list_add_tail(&cmd->se_delayed_node, &dev->delayed_cmd_list); | 1936 | list_add_tail(&cmd->se_delayed_node, &dev->delayed_cmd_list); |
1938 | spin_unlock(&dev->delayed_cmd_lock); | 1937 | spin_unlock(&dev->delayed_cmd_lock); |
1939 | 1938 | ||
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 15039dd9de18..1ae97fe93d2f 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -166,14 +166,12 @@ enum se_cmd_flags_table { | |||
166 | SCF_SCSI_RESERVATION_CONFLICT = 0x00000040, | 166 | SCF_SCSI_RESERVATION_CONFLICT = 0x00000040, |
167 | SCF_FUA = 0x00000080, | 167 | SCF_FUA = 0x00000080, |
168 | SCF_SE_LUN_CMD = 0x00000100, | 168 | SCF_SE_LUN_CMD = 0x00000100, |
169 | SCF_SE_ALLOW_EOO = 0x00000200, | ||
170 | SCF_BIDI = 0x00000400, | 169 | SCF_BIDI = 0x00000400, |
171 | SCF_SENT_CHECK_CONDITION = 0x00000800, | 170 | SCF_SENT_CHECK_CONDITION = 0x00000800, |
172 | SCF_OVERFLOW_BIT = 0x00001000, | 171 | SCF_OVERFLOW_BIT = 0x00001000, |
173 | SCF_UNDERFLOW_BIT = 0x00002000, | 172 | SCF_UNDERFLOW_BIT = 0x00002000, |
174 | SCF_SENT_DELAYED_TAS = 0x00004000, | 173 | SCF_SENT_DELAYED_TAS = 0x00004000, |
175 | SCF_ALUA_NON_OPTIMIZED = 0x00008000, | 174 | SCF_ALUA_NON_OPTIMIZED = 0x00008000, |
176 | SCF_DELAYED_CMD_FROM_SAM_ATTR = 0x00010000, | ||
177 | SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC = 0x00020000, | 175 | SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC = 0x00020000, |
178 | SCF_ACK_KREF = 0x00040000, | 176 | SCF_ACK_KREF = 0x00040000, |
179 | }; | 177 | }; |