diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-05-05 11:40:46 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-05-08 22:00:19 -0700 |
commit | ee588a7f2329744b94615a0c2571cfe810983855 (patch) | |
tree | 1f4db9bcbf2f5c7c632d1ad23975e7e0214f4468 /lib/interval_tree_test.c | |
parent | 993543bcbad298a2109ccc60af35b756d8158c75 (diff) |
f2fs: fix to avoid potential race on sbi->unusable_block_count access/update
Use sbi.stat_lock to protect sbi->unusable_block_count accesss/udpate, in
order to avoid potential race on it.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions