NVMe: Set queue flags correctly
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 10 Jan 2012 21:35:08 +0000 (14:35 -0700)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 10 Jan 2012 21:29:23 +0000 (16:29 -0500)
commit4eeb9215a0d5c9494ca8b20158cc8ee82618840c
treee78031c97d64d7545454f729f14e4885fa5f5f5c
parent1c2ad9faaf662b4a525348775deca3ac8e6c35a0
NVMe: Set queue flags correctly

QUEUE_FLAG_* are flags (other than QUEUE_FLAG_DEFAULT), so they cannot
be ORed together.  Set the queue flags using queue_flag_set_unlocked().

Reported-by: Donald Wood <donald.e.wood@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c