projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7c5437
)
block: fix debugfs config conditional in struct request_queue
author
Omar Sandoval
<osandov@fb.com>
Tue, 31 Jan 2017 22:53:18 +0000
(14:53 -0800)
committer
Jens Axboe
<axboe@fb.com>
Thu, 2 Feb 2017 17:20:16 +0000
(10:20 -0700)
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>
include/linux/blkdev.h
patch
|
blob
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index f84fbe55d3b39718e7bb313d98eae9ff00242d27..e0bac14347e6e0c368b747f243289ba4cafb304e 100644
(file)
--- 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