summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-05-05 06:40:46 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2019-05-09 07:23:13 +0300
commitc9c8ed50d94c613fc3f4917c51e9c75d493a312e (patch)
tree161bfa38f995f3fceae4c60d4d9ba1f85384a7f2 /fs/xfs/xfs_icache.c
parentd764834378a9870ca56e9b2977ea46e9911ec358 (diff)
downloadlinux-c9c8ed50d94c613fc3f4917c51e9c75d493a312e.tar.xz
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 'fs/xfs/xfs_icache.c')
0 files changed, 0 insertions, 0 deletions