diff options
author | 2016-10-11 22:57:00 +0800 | |
---|---|---|
committer | 2016-11-23 12:10:50 -0800 | |
commit | 2dd15654ac0abe587a245a09a7823bbbd588bfb7 (patch) | |
tree | 97703cfaf357c02bc226f04a9952d6db1e290230 /fs/f2fs/data.c | |
parent | f2fs: exclude free nids building and allocation (diff) | |
download | linux-2dd15654ac0abe587a245a09a7823bbbd588bfb7.tar.gz linux-2dd15654ac0abe587a245a09a7823bbbd588bfb7.tar.bz2 linux-2dd15654ac0abe587a245a09a7823bbbd588bfb7.zip |
f2fs: fix to release discard entries during checkpoint
In f2fs_fill_super, if there is any IO error occurs during recovery,
cached discard entries will be leaked, in order to avoid this, make
write_checkpoint() handle memory release by itself, besides, move
clear_prefree_segments to write_checkpoint for readability.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions