diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2015-04-01 00:31:07 -0700 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2016-10-07 12:33:50 -0800 |
commit | 63dd1f5d034c15ed9a11cba55f1298a002222cb0 (patch) | |
tree | 8474eafb1027627e3728e0bfff5ba9e8848bbcb1 | |
parent | d419c5e95a518a28fddfb82246a12d09a0e4da62 (diff) |
bcache: Correctly clean up debugfs dir
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r-- | drivers/md/bcache/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index 181eceb507da..469190daf63d 100644 --- a/drivers/md/bcache/debug.c +++ b/drivers/md/bcache/debug.c @@ -373,7 +373,7 @@ static const struct file_operations btree_format_debug_ops = { void bch_debug_exit_cache_set(struct cache_set *c) { if (!IS_ERR_OR_NULL(c->debug)) - debugfs_remove(c->debug); + debugfs_remove_recursive(c->debug); } void bch_debug_init_cache_set(struct cache_set *c) |