diff options
author | Ming Lei <tom.leiming@gmail.com> | 2013-12-26 14:31:38 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-12-31 17:53:05 +0100 |
commit | 3edcc0ce85c59d45d6dfc6a36a6b3f8b31ba9887 (patch) | |
tree | 9650f658c3bedc97636830d643c09d324225c0f8 /block/blk-mq.c | |
parent | block: blk-mq: make blk_sync_queue support mq (diff) | |
download | linux-3edcc0ce85c59d45d6dfc6a36a6b3f8b31ba9887.tar.xz linux-3edcc0ce85c59d45d6dfc6a36a6b3f8b31ba9887.zip |
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.c')
-rw-r--r-- | block/blk-mq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index edbd2536f942..6914f9bd470a 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1461,7 +1461,6 @@ void blk_mq_free_queue(struct request_queue *q) list_del_init(&q->all_q_node); mutex_unlock(&all_q_mutex); } -EXPORT_SYMBOL(blk_mq_free_queue); /* Basically redo blk_mq_init_queue with queue frozen */ static void blk_mq_queue_reinit(struct request_queue *q) |