diff options
author | Omar Sandoval <osandov@fb.com> | 2017-01-27 15:03:01 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-27 15:03:01 -0700 |
commit | 400f73b23f457a82288814e21af57dbc9f3f2afd (patch) | |
tree | 02e545b69739e1577c97f37ece486ccb555b8249 /drivers/lightnvm | |
parent | f3a8ab7d55bc49b44baa229723e0b5b6ebacac4a (diff) | |
download | lwn-400f73b23f457a82288814e21af57dbc9f3f2afd.tar.gz lwn-400f73b23f457a82288814e21af57dbc9f3f2afd.zip |
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: 07e4fead45e6 ("blk-mq: create debugfs directory tree")
Signed-off-by: Omar Sandoval <osandov@fb.com>
Augment Kconfig description.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions