diff options
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index ad69ef657e85..9541f5111ba6 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c | |||
@@ -81,7 +81,7 @@ static int blk_mq_queue_enter(struct request_queue *q) | |||
81 | int ret; | 81 | int ret; |
82 | 82 | ||
83 | __percpu_counter_add(&q->mq_usage_counter, 1, 1000000); | 83 | __percpu_counter_add(&q->mq_usage_counter, 1, 1000000); |
84 | smp_wmb(); | 84 | smp_mb(); |
85 | 85 | ||
86 | /* we have problems freezing the queue if it's initializing */ | 86 | /* we have problems freezing the queue if it's initializing */ |
87 | if (!blk_queue_dying(q) && | 87 | if (!blk_queue_dying(q) && |