kernel_optimize_test/fs/f2fs
Hyeongseok Kim 9c14fb58a1 f2fs: fix double free of unicode map
[ Upstream commit 89ff6005039a878afac87889fee748fa3f957c3a ]

In case of retrying fill_super with skip_recovery,
s_encoding for casefold would not be loaded again even though it's
already been freed because it's not NULL.
Set NULL after free to prevent double freeing when unmount.

Fixes: eca4873ee1 ("f2fs: Use generic casefolding support")
Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:31 +01:00
..
acl.c
acl.h
checkpoint.c
compress.c
data.c
debug.c
dir.c
extent_cache.c
f2fs.h f2fs: prevent creating duplicate encrypted filenames 2020-12-26 16:02:44 +01:00
file.c
gc.c
gc.h
hash.c
inline.c
inode.c
Kconfig
Makefile
namei.c
node.c f2fs: call f2fs_get_meta_page_retry for nat page 2020-12-30 11:53:01 +01:00
node.h
recovery.c
segment.c f2fs: init dirty_secmap incorrectly 2020-12-26 16:02:42 +01:00
segment.h
shrinker.c
super.c f2fs: fix double free of unicode map 2020-12-30 11:53:31 +01:00
sysfs.c
trace.c
trace.h
verity.c
xattr.c
xattr.h