block: use same block debugfs directory for blk-mq and blktrace
authorOmar Sandoval <osandov@fb.com>
Tue, 31 Jan 2017 22:53:20 +0000 (14:53 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 2 Feb 2017 17:20:16 +0000 (10:20 -0700)
commit18fbda91c6370d520278db9ee1e768b59ef5c4ab
tree24a7e92d1dd90533dd783ea87abf13cf55284049
parenta428d314ebcf65842fd64ad850c02c280586e74d
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>
block/blk-core.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-mq.h
block/blk.h
kernel/trace/blktrace.c