Fixes the build, although closure debugging is not much use without it. --- block/bcache_util.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/block/bcache_util.c b/block/bcache_util.c index 19846fb..b014e8c 100644 --- a/block/bcache_util.c +++ b/block/bcache_util.c @@ -531,7 +531,9 @@ module_exit(closure_debug_exit); static int __init closure_debug_init(void) { spin_lock_init(&closure_lock); +#ifdef CONFIG_DEBUG_FS debug = debugfs_create_file("closures", 0400, NULL, NULL, &debug_ops); +#endif return 0; } -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html