bcache: move closure debug file into debug directory
[sfrench/cifs-2.6.git] / drivers / md / bcache / super.c
index 7b45160e9a227af14d9deb94f71319845e4caabc..f1f64853114b92268cbc1b4133e06cde9d6e37da 100644 (file)
@@ -2224,7 +2224,6 @@ static int __init bcache_init(void)
        mutex_init(&bch_register_lock);
        init_waitqueue_head(&unregister_wait);
        register_reboot_notifier(&reboot);
-       closure_debug_init();
 
        bcache_major = register_blkdev(0, "bcache");
        if (bcache_major < 0) {
@@ -2236,7 +2235,7 @@ static int __init bcache_init(void)
        if (!(bcache_wq = alloc_workqueue("bcache", WQ_MEM_RECLAIM, 0)) ||
            !(bcache_kobj = kobject_create_and_add("bcache", fs_kobj)) ||
            bch_request_init() ||
-           bch_debug_init(bcache_kobj) ||
+           bch_debug_init(bcache_kobj) || closure_debug_init() ||
            sysfs_create_files(bcache_kobj, files))
                goto err;