Skip to content
Commit 400f73b2 authored by Omar Sandoval's avatar Omar Sandoval Committed by Jens Axboe
Browse files

blk-mq: fix debugfs compilation issues

This fixes a couple of problems:

1. In the !CONFIG_DEBUG_FS case, the stub definitions were bogus.
2. In the !CONFIG_BLOCK case, blk-mq-debugfs.c shouldn't be compiled at
   all.

Fix the stub definitions and add a CONFIG_BLK_DEBUG_FS Kconfig option.

Fixes: 07e4fead

 ("blk-mq: create debugfs directory tree")
Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>

Augment Kconfig description.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent f3a8ab7d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment