aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-10-11 22:57:00 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:15 +0200
commita3ecc330b58ca6f0d50e027c4d3125251f89bda8 (patch)
treec7828f6685b7ab643f75d2be6ab8984b56564757 /fs/f2fs/inline.c
parent8235901a0acd68d1564204dc9702b395e675e689 (diff)
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/inline.c')
0 files changed, 0 insertions, 0 deletions