commit | 5ccdd095d958b329b1f9d4a5b0f3645d6f371e09 | [log] [tgz] |
---|---|---|
author | Yunlong Song <yunlong.song@huawei.com> | Wed Aug 02 21:20:13 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Sep 21 13:55:25 2017 -0700 |
tree | b93b7577d859795fa39941bdaa3fdabee5a7f724 | |
parent | db4fa88d3a40686ff68f9b76e46e1f104611d76b [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>