aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-09-20 10:29:47 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-09-30 10:05:50 -0700
commitfadb2fb8af5348c1bc59cab17c6f8bf515e50d55 (patch)
tree437503e890baf0603218fa20d36cbc1ecf3102ec /fs/f2fs/node.h
parentf2fs: put directory inodes before checkpoint in roll-forward recovery (diff)
downloadlinux-dev-fadb2fb8af5348c1bc59cab17c6f8bf515e50d55.tar.xz
linux-dev-fadb2fb8af5348c1bc59cab17c6f8bf515e50d55.zip
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/f2fs/node.h')
0 files changed, 0 insertions, 0 deletions