diff options
| author | Chao Yu <yuchao0@huawei.com> | 2016-09-20 11:04:18 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:34:09 +0200 |
| commit | 06207256c637bc4ef94df7a8672cab81b80a492c (patch) | |
| tree | 954dc378984ed95ea486270e15961d0d05c49988 /scripts/checkpatch.pl | |
| parent | 469a1f4aab4d820ba6d3474317cba3244fc8cd86 (diff) | |
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/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
