diff options
author | Omar Sandoval <osandov@fb.com> | 2017-01-31 23:53:20 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 18:20:16 +0100 |
commit | 18fbda91c6370d520278db9ee1e768b59ef5c4ab (patch) | |
tree | 24a7e92d1dd90533dd783ea87abf13cf55284049 /block/blk-mq.c | |
parent | blktrace: make do_blk_trace_setup() static (diff) | |
download | linux-18fbda91c6370d520278db9ee1e768b59ef5c4ab.tar.xz linux-18fbda91c6370d520278db9ee1e768b59ef5c4ab.zip |
block: use same block debugfs directory for blk-mq and blktrace
When I added the blk-mq debugging information to debugfs, I didn't
notice that blktrace also creates a "block" directory in debugfs. Make
them use the same dentry, now created in the core block code. Based on a
patch from Jens.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 3d76e860f126..e9957df05700 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2817,8 +2817,6 @@ void blk_mq_enable_hotplug(void) static int __init blk_mq_init(void) { - blk_mq_debugfs_init(); - cpuhp_setup_state_multi(CPUHP_BLK_MQ_DEAD, "block/mq:dead", NULL, blk_mq_hctx_notify_dead); |