diff options
author | Ming Lei <tom.leiming@gmail.com> | 2013-12-26 21:31:38 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-12-31 09:53:05 -0700 |
commit | 3edcc0ce85c59d45d6dfc6a36a6b3f8b31ba9887 (patch) | |
tree | 9650f658c3bedc97636830d643c09d324225c0f8 /block/blk-mq.h | |
parent | f04c1fe7619b2a60ee9e209cf3f9fcba2ce8f2a2 (diff) |
block: blk-mq: don't export blk_mq_free_queue()
blk_mq_free_queue() is called from release handler of
queue kobject, so it needn't be called from drivers.
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r-- | block/blk-mq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index caa614f24409..e151a2f4f171 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -28,6 +28,7 @@ void blk_mq_run_request(struct request *rq, bool run_queue, bool async); void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async); void blk_mq_init_flush(struct request_queue *q); void blk_mq_drain_queue(struct request_queue *q); +void blk_mq_free_queue(struct request_queue *q); /* * CPU hotplug helpers |