From: Omar Sandoval Date: Tue, 31 Jan 2017 22:53:18 +0000 (-0800) Subject: block: fix debugfs config conditional in struct request_queue X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=03796c149a99e14506db9de3adba710c26f83ba9;p=linux.git 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 Signed-off-by: Jens Axboe --- diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f84fbe55d3b39..e0bac14347e6e 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