OSDN Git Service

f2fs: check cur_valid_map_mir & raw_sit block count when flush sit entries
authorZhikang Zhang <zhangzhikang1@huawei.com>
Sun, 8 Apr 2018 20:28:41 +0000 (04:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Jul 2018 00:28:31 +0000 (17:28 -0700)
commitea2813111f1f31e04892c955291356322eec23b8
tree2b9368fda4b7ded10a706ed96b05d4dcabce3a15
parent9190cadf38db9a3b321c8882b1d27219a5e6f436
f2fs: check cur_valid_map_mir & raw_sit block count when flush sit entries

We should check valid_map_mir and block count to ensure
the flushed raw_sit is correct.

Signed-off-by: Zhikang Zhang <zhangzhikang1@huawei.com>
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c