summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2013-12-26 14:31:38 +0100
committerJens Axboe <axboe@kernel.dk>2013-12-31 17:53:05 +0100
commit3edcc0ce85c59d45d6dfc6a36a6b3f8b31ba9887 (patch)
tree9650f658c3bedc97636830d643c09d324225c0f8 /block/blk-sysfs.c
parentblock: blk-mq: make blk_sync_queue support mq (diff)
downloadlinux-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-sysfs.c')
-rw-r--r--block/blk-sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index 97779522472f..8095c4a21fc0 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -11,6 +11,7 @@
#include "blk.h"
#include "blk-cgroup.h"
+#include "blk-mq.h"
struct queue_sysfs_entry {
struct attribute attr;