summaryrefslogtreecommitdiffstats
path: root/block/mq-deadline.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-01-31 14:53:22 -0800
committerJens Axboe <axboe@fb.com>2017-02-02 10:20:16 -0700
commit6ac93117ab009d3901ed5d3d0f79056eb5fc0afd (patch)
tree1f5e064f9ecbbd55d8d72a23a4f3b7f66d411384 /block/mq-deadline.c
parent62ebce16c0ac2ffac44e32f931a2d8f6e749be4c (diff)
downloadlinux-0-day-6ac93117ab009d3901ed5d3d0f79056eb5fc0afd.tar.gz
blktrace: use existing disk debugfs directory
We may already have a directory to put the blktrace stuff in if 1. The disk uses blk-mq 2. CONFIG_BLK_DEBUG_FS is enabled 3. We are tracing the whole disk and not a partition Instead of hardcoding this very specific case, let's use the new debugfs_lookup(). If the directory exists, we use it, otherwise we create one and clean it up later. Fixes: 07e4fead45e6 ("blk-mq: create debugfs directory tree") Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions