aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-09-19 22:29:47 -0400
committerJaegeuk Kim <jaegeuk@kernel.org>2016-09-30 13:05:50 -0400
commitfadb2fb8af5348c1bc59cab17c6f8bf515e50d55 (patch)
tree437503e890baf0603218fa20d36cbc1ecf3102ec /scripts/gcc-plugins/cyc_complexity_plugin.c
parent9e1e6df412a28cdbbd2909de5c6189eda4a3383d (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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions