diff options
author | Omar Sandoval | 2017-01-31 23:53:18 +0100 |
---|---|---|
committer | Jens Axboe | 2017-02-02 18:20:16 +0100 |
commit | 03796c149a99e14506db9de3adba710c26f83ba9 (patch) | |
tree | 58a4d4e3a113c192fe4a1f1ce043441356bcc83b | |
parent | debugfs: add debugfs_lookup() (diff) | |
download | kernel-qcow2-linux-03796c149a99e14506db9de3adba710c26f83ba9.tar.gz kernel-qcow2-linux-03796c149a99e14506db9de3adba710c26f83ba9.tar.xz kernel-qcow2-linux-03796c149a99e14506db9de3adba710c26f83ba9.zip |
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>
-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 f84fbe55d3b3..e0bac14347e6 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 |