Skip to content

Commit bdc32a1

Browse files
author
Kent Overstreet
committed
bcachefs: Add missing utf8_unload()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 70c3d89 commit bdc32a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fs/bcachefs/super.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ static void __bch2_fs_free(struct bch_fs *c)
531531
for (unsigned i = 0; i < BCH_TIME_STAT_NR; i++)
532532
bch2_time_stats_exit(&c->times[i]);
533533

534+
#ifdef CONFIG_UNICODE
535+
utf8_unload(c->cf_encoding);
536+
#endif
537+
534538
bch2_find_btree_nodes_exit(&c->found_btree_nodes);
535539
bch2_free_pending_node_rewrites(c);
536540
bch2_free_fsck_errs(c);

0 commit comments

Comments
 (0)