]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/nvme.h
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[linux.git] / include / linux / nvme.h
index bc74da018bdcd5a3ab3ebf0d5e783a1f9780207b..25d8225dbd046d4dcac62e8261d1e49981b72df9 100644 (file)
@@ -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?
         */
        if (unlikely(cmd->common.opcode == nvme_fabrics_command))
-               return cmd->fabrics.opcode & 1;
+               return cmd->fabrics.fctype & 1;
        return cmd->common.opcode & 1;
 }