From: Kent Overstreet Date: Sat, 26 Apr 2025 16:19:47 +0000 (-0400) Subject: bcachefs: Add missing utf8_unload() X-Git-Tag: v6.15-rc5~18^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdc32a10a29c3993b3c6c38b21951b66bea525d7;p=thirdparty%2Fkernel%2Flinux.git bcachefs: Add missing utf8_unload() Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index 32fccca350ed8..27943082c093c 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -531,6 +531,10 @@ static void __bch2_fs_free(struct bch_fs *c) for (unsigned i = 0; i < BCH_TIME_STAT_NR; i++) bch2_time_stats_exit(&c->times[i]); +#ifdef CONFIG_UNICODE + utf8_unload(c->cf_encoding); +#endif + bch2_find_btree_nodes_exit(&c->found_btree_nodes); bch2_free_pending_node_rewrites(c); bch2_free_fsck_errs(c);