mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
block: fix debugfs config conditional in struct request_queue
The debugfs dentries are only used for CONFIG_BLK_DEBUG_FS, so make them conditional on that instead of CONFIG_DEBUG_FS. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
committed by
Jens Axboe
parent
a7c5437b0b
commit
03796c149a
@@ -570,7 +570,7 @@ struct request_queue {
|
|||||||
struct list_head tag_set_list;
|
struct list_head tag_set_list;
|
||||||
struct bio_set *bio_split;
|
struct bio_set *bio_split;
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_FS
|
#ifdef CONFIG_BLK_DEBUG_FS
|
||||||
struct dentry *debugfs_dir;
|
struct dentry *debugfs_dir;
|
||||||
struct dentry *mq_debugfs_dir;
|
struct dentry *mq_debugfs_dir;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user