blk-mq: fix WARNING "percpu_ref_kill() called more than once!"
authorMing Lei <ming.lei@canonical.com>
Fri, 15 Aug 2014 15:16:32 +0000 (23:16 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 15 Aug 2014 18:38:20 +0000 (12:38 -0600)
Before doing queue release, the queue has been freezed already
by blk_cleanup_queue(), so needn't to freeze queue for deleting
tag set.

This patch fixes the WARNING of "percpu_ref_kill() called more than once!"
which is triggered during unloading block driver.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found