f2fs: do not change the valid_block value if cur_valid_map was wrongly set or cleared
authorYunlong Song <[email protected]>
Wed, 2 Aug 2017 14:16:54 +0000 (22:16 +0800)
committerJaegeuk Kim <[email protected]>
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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
fs/f2fs/segment.c