diff options
author | Omar Sandoval <osandov@fb.com> | 2017-01-31 14:53:18 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 10:20:16 -0700 |
commit | 03796c149a99e14506db9de3adba710c26f83ba9 (patch) | |
tree | 58a4d4e3a113c192fe4a1f1ce043441356bcc83b /include/linux | |
parent | a7c5437b0bbec5165df6eb1efc5e37dc40b9e05d (diff) | |
download | op-kernel-dev-03796c149a99e14506db9de3adba710c26f83ba9.zip op-kernel-dev-03796c149a99e14506db9de3adba710c26f83ba9.tar.gz |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f84fbe5..e0bac14 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -570,7 +570,7 @@ struct request_queue { struct list_head tag_set_list; struct bio_set *bio_split; -#ifdef CONFIG_DEBUG_FS +#ifdef CONFIG_BLK_DEBUG_FS struct dentry *debugfs_dir; struct dentry *mq_debugfs_dir; #endif |