]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
block: fix debugfs config conditional in struct request_queue
authorOmar Sandoval <osandov@fb.com>
Tue, 31 Jan 2017 22:53:18 +0000 (14:53 -0800)
committerJens 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

index f84fbe55d3b39718e7bb313d98eae9ff00242d27..e0bac14347e6e0c368b747f243289ba4cafb304e 100644 (file)
@@ -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