diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-09-20 05:29:47 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-09-30 20:05:50 +0300 |
commit | fadb2fb8af5348c1bc59cab17c6f8bf515e50d55 (patch) | |
tree | 437503e890baf0603218fa20d36cbc1ecf3102ec /fs/nfsd | |
parent | 9e1e6df412a28cdbbd2909de5c6189eda4a3383d (diff) | |
download | linux-fadb2fb8af5348c1bc59cab17c6f8bf515e50d55.tar.xz |
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>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions