commit | 6415fedc572219e0c8e6b4d3c17c46ed36997ae7 | [log] [tgz] |
---|---|---|
author | Yunlong Song <yunlong.song@huawei.com> | Wed Aug 02 21:20:13 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Aug 09 17:45:21 2017 -0700 |
tree | 87a23aea41b2d0c2ed7dda0ab1440b780861087b | |
parent | a36c106dffb616250117efb1cab271c19a8f94ff [diff] |
f2fs: update cur_valid_map_mir together with cur_valid_map When cur_valid_map passes the f2fs_test_and_set(,clear)_bit test, cur_valid_map_mir update is skipped unlikely, so fix it. The fix now changes the mirror check together with cur_valid_map all the time. Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> [Jaegeuk Kim: Fix unused variable and add unlikely for corner condition.] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>