diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-09-20 10:29:47 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-09-30 10:05:50 -0700 |
commit | fadb2fb8af5348c1bc59cab17c6f8bf515e50d55 (patch) | |
tree | 437503e890baf0603218fa20d36cbc1ecf3102ec /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions