f2fs: do not change the valid_block value if cur_valid_map was wrongly set or cleared
authorYunlong Song <yunlong.song@huawei.com>
Wed, 2 Aug 2017 14:16:54 +0000 (22:16 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 10 Aug 2017 00:45:23 +0000 (17:45 -0700)
commit35ee82ca133a58011e648a407d4ab13275c975d4
tree7066db0c77d7d9ec40c576e45fc45d3b369e2999
parent6415fedc572219e0c8e6b4d3c17c46ed36997ae7
f2fs: do not change the valid_block value if cur_valid_map was wrongly set or cleared

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c