diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-03-13 13:10:41 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-22 03:34:32 +0100 |
commit | 346fe752c431bcef5d05614263a4b4a0cfe88e10 (patch) | |
tree | 39de2def9f4b6df8e22d647e2c8d6ea5307c98c7 /fs/sysv | |
parent | f2fs: fix bad prefetchw of NULL page (diff) | |
download | linux-346fe752c431bcef5d05614263a4b4a0cfe88e10.tar.xz linux-346fe752c431bcef5d05614263a4b4a0cfe88e10.zip |
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 'fs/sysv')
0 files changed, 0 insertions, 0 deletions