diff options
author | Yunlong Song <yunlong.song@huawei.com> | 2017-08-02 21:20:13 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-08-09 17:45:21 -0700 |
commit | 6415fedc572219e0c8e6b4d3c17c46ed36997ae7 (patch) | |
tree | 87a23aea41b2d0c2ed7dda0ab1440b780861087b /virt/kvm/arm | |
parent | a36c106dffb616250117efb1cab271c19a8f94ff (diff) | |
download | linux-6415fedc572219e0c8e6b4d3c17c46ed36997ae7.tar.gz linux-6415fedc572219e0c8e6b4d3c17c46ed36997ae7.tar.bz2 linux-6415fedc572219e0c8e6b4d3c17c46ed36997ae7.zip |
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>
Diffstat (limited to 'virt/kvm/arm')
0 files changed, 0 insertions, 0 deletions