diff options
| author | Chao Yu <yuchao0@huawei.com> | 2017-03-13 20:10:41 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-21 18:38:35 +0200 |
| commit | 0ec348f0f14d3a0f3916f4a2456bed44365831e8 (patch) | |
| tree | 065cefa4b6a4246c6315662be46f8e8311ca2bc3 /include/linux/string.h | |
| parent | 507072353bbf7a698cfacd159e7db26d7c378792 (diff) | |
f2fs: cover update_free_nid_bitmap with nid_list_lock
free_nid_bitmap and free_nid_count in update_free_nid_bitmap should be
updated atomically, use nid_list_lock cover them to avoid race in
concurrent scenario.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
