summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/super.c')
-rw-r--r--drivers/md/bcache/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c
index 793ccbb87a74..d741131b1a8c 100644
--- a/drivers/md/bcache/super.c
+++ b/drivers/md/bcache/super.c
@@ -748,8 +748,7 @@ static void cache_set_free(struct closure *cl)
struct cache *ca;
unsigned i;
- if (!IS_ERR_OR_NULL(c->debug))
- debugfs_remove(c->debug);
+ bch_debug_exit_cache_set(c);
bch_btree_cache_free(c);
bch_journal_free(c);