diff options
| author | Chao Yu <yuchao0@huawei.com> | 2016-10-11 22:57:00 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@google.com> | 2017-09-25 15:04:47 -0700 |
| commit | ab38818bdd9a67f9ce6aade05f61e373d45ae132 (patch) | |
| tree | 3b66f4f9516cd9ade9b738683f3aecb55c33593e /tools/perf/scripts/python | |
| parent | 311aa690ef7bd32732a65d957c2490143c7b9830 (diff) | |
f2fs: fix to release discard entries during checkpoint
commit 2dd15654ac0abe587a245a09a7823bbbd588bfb7 upstream.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
