diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 8b64af017733..3d63a89daa18 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -3844,6 +3844,7 @@ free_bio_info: #ifdef CONFIG_UNICODE utf8_unload(sb->s_encoding); + sb->s_encoding = NULL; #endif free_options: #ifdef CONFIG_QUOTA