commit | fadb2fb8af5348c1bc59cab17c6f8bf515e50d55 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Sep 20 10:29:47 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Sep 30 10:05:50 2016 -0700 |
tree | 437503e890baf0603218fa20d36cbc1ecf3102ec | |
parent | 9e1e6df412a28cdbbd2909de5c6189eda4a3383d [diff] |
f2fs: fix to avoid race condition when updating sbi flag Making updating of sbi flag atomic by using {test,set,clear}_bit, otherwise in concurrency scenario, the flag could be updated incorrectly. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>