author: Hyeongseok Kim <hyeongseok@gmail.com> 2020-11-12 18:14:54 +0900
committer: Jaegeuk Kim <jaegeuk@kernel.org> 2020-12-02 22:00:20 -0800
commit: 89ff6005039a878afac87889fee748fa3f957c3a
parent: 34178b1bc4b5c936eab3adb4835578093095a571
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 00eff2f51807..fef22e476c52 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -3918,6 +3918,7 @@ free_bio_info:
#ifdef CONFIG_UNICODE
utf8_unload(sb->s_encoding);
+ sb->s_encoding = NULL;
#endif
free_options:
#ifdef CONFIG_QUOTA