summaryrefslogtreecommitdiff
path: root/scripts/mkuboot.sh
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-09-20 03:04:18 (GMT)
committerJaegeuk Kim <jaegeuk@kernel.org>2016-10-01 00:34:20 (GMT)
commitaaec2b1d18792a5f27b69ff37f34f43f89f5aa3b (patch)
treed21e6ad4e210ad826580c03a55cb97230543c280 /scripts/mkuboot.sh
parentfadb2fb8af5348c1bc59cab17c6f8bf515e50d55 (diff)
downloadlinux-aaec2b1d18792a5f27b69ff37f34f43f89f5aa3b.tar.xz
f2fs: introduce cp_lock to protect updating of ckpt_flags
This patch introduces spinlock to protect updating process of ckpt_flags field in struct f2fs_checkpoint, it avoids incorrectly updating in race condition. Signed-off-by: Chao Yu <yuchao0@huawei.com> [Jaegeuk Kim: add __is_set_ckpt_flags likewise __set_ckpt_flags] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions