summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/bcachefs/movinggc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c
index 7ef78cccc65c..5ea512968f4d 100644
--- a/fs/bcachefs/movinggc.c
+++ b/fs/bcachefs/movinggc.c
@@ -369,6 +369,7 @@ static int bch2_copygc_thread(void *arg)
}
move_buckets_wait(&trans, &ctxt, &move_buckets, true);
+ rhashtable_destroy(&move_buckets.table);
bch2_trans_exit(&trans);
bch2_moving_ctxt_exit(&ctxt);