diff options
| -rw-r--r-- | drivers/nvme/host/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index cd16d98d1f1a..eebaeadaa800 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c | |||
| @@ -1257,10 +1257,9 @@ static u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, | |||
| 1257 | return 0; | 1257 | return 0; |
| 1258 | } | 1258 | } |
| 1259 | 1259 | ||
| 1260 | effects |= nvme_known_admin_effects(opcode); | ||
| 1260 | if (ctrl->effects) | 1261 | if (ctrl->effects) |
| 1261 | effects = le32_to_cpu(ctrl->effects->acs[opcode]); | 1262 | effects = le32_to_cpu(ctrl->effects->acs[opcode]); |
| 1262 | else | ||
| 1263 | effects = nvme_known_admin_effects(opcode); | ||
| 1264 | 1263 | ||
| 1265 | /* | 1264 | /* |
| 1266 | * For simplicity, IO to all namespaces is quiesced even if the command | 1265 | * For simplicity, IO to all namespaces is quiesced even if the command |
