|
@@ -1054,8 +1054,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id,
|
|
mutex_init(&q->sysfs_lock);
|
|
mutex_init(&q->sysfs_lock);
|
|
spin_lock_init(&q->__queue_lock);
|
|
spin_lock_init(&q->__queue_lock);
|
|
|
|
|
|
- if (!q->mq_ops)
|
|
|
|
- q->queue_lock = lock ? : &q->__queue_lock;
|
|
|
|
|
|
+ q->queue_lock = lock ? : &q->__queue_lock;
|
|
|
|
|
|
/*
|
|
/*
|
|
* A queue starts its life with bypass turned on to avoid
|
|
* A queue starts its life with bypass turned on to avoid
|