block: blk-mq: make blk_sync_queue support mq
authorMing Lei <tom.leiming@gmail.com>
Thu, 26 Dec 2013 13:31:36 +0000 (21:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Dec 2013 16:53:05 +0000 (09:53 -0700)
This patch moves synchronization on mq->delay_work
from blk_mq_free_queue() to blk_sync_queue(), so that
blk_sync_queue can work on mq.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c

Simple merge
diff --cc block/blk-mq.c
Simple merge