commit | be1955f7a7674cd61e84d1caa19f717f1555355c | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Sun May 05 11:40:46 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed May 08 21:47:06 2019 -0700 |
tree | 1793a9255556a03ec345d1d7a73c0e1fcaad6790 | |
parent | de69ac794f7e3e57f67c3f814f30e00bf48b99c9 [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>