|
@@ -1006,7 +1006,7 @@ static inline bool nvme_is_write(struct nvme_command *cmd)
|
|
* Why can't we simply have a Fabrics In and Fabrics out command?
|
|
* Why can't we simply have a Fabrics In and Fabrics out command?
|
|
*/
|
|
*/
|
|
if (unlikely(cmd->common.opcode == nvme_fabrics_command))
|
|
if (unlikely(cmd->common.opcode == nvme_fabrics_command))
|
|
- return cmd->fabrics.opcode & 1;
|
|
|
|
|
|
+ return cmd->fabrics.fctype & 1;
|
|
return cmd->common.opcode & 1;
|
|
return cmd->common.opcode & 1;
|
|
}
|
|
}
|
|
|
|
|