blk-mq: fix WARNING "percpu_ref_kill() called more than once!"
authorMing Lei <[email protected]>
Fri, 15 Aug 2014 15:16:32 +0000 (23:16 +0800)
committerJens Axboe <[email protected]>
Fri, 15 Aug 2014 18:38:20 +0000 (12:38 -0600)
commitdd840087086f3b93ac20f7472b4fca59aff7b79f
tree7041c173625a6099816b920f8f27c1b044a5fda4
parentc9d26423e56ce1ab4d786f92aebecf859d419293
blk-mq: fix WARNING "percpu_ref_kill() called more than once!"

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 <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c