[SCSI] fix regression that accidentally disabled block-based tcq
authorChristoph Hellwig <hch@infradead.org>
Fri, 12 Sep 2014 23:00:32 +0000 (16:00 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 19 Sep 2014 12:23:32 +0000 (13:23 +0100)
commite8be1cf58d5b4ddbf8089700df8458f432ed5934
tree46befd9bf9c5fbb3a42792e190d642698020af2c
parentdb9bfd64b14a3a8f1868d2164518fdeab1b26ad1
[SCSI] fix regression that accidentally disabled block-based tcq

The scsi blk-mq support accidentally flipped a conditional, which lead to
never enabling block based tcq when using the legacy request path.

Fixes: d285203cf647d7c9 scsi: add support for a blk-mq based I/O path.
Reported-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
include/scsi/scsi_tcq.h