Re: [PATCH v2] blk-mq: fix debugfs compilation issues

2017-01-27 Thread Jens Axboe
On 01/27/2017 01:49 PM, Omar Sandoval wrote: > From: Omar Sandoval > > 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

[PATCH v2] blk-mq: fix debugfs compilation issues

2017-01-27 Thread Omar Sandoval
From: Omar Sandoval 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: