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>
Showing
- block/blk-core.c 9 additions, 0 deletionsblock/blk-core.c
- block/blk-mq-debugfs.c 3 additions, 9 deletionsblock/blk-mq-debugfs.c
- block/blk-mq.c 0 additions, 2 deletionsblock/blk-mq.c
- block/blk-mq.h 0 additions, 5 deletionsblock/blk-mq.h
- block/blk.h 4 additions, 0 deletionsblock/blk.h
- kernel/trace/blktrace.c 5 additions, 13 deletionskernel/trace/blktrace.c
Please register or sign in to comment