Files
android_kernel_xiaomi_sm8450/fs/f2fs
Daeho Jeong c2759ebaf7 f2fs: change i_compr_blocks of inode to atomic value
writepages() can be concurrently invoked for the same file by different
threads such as a thread fsyncing the file and a kworker kernel thread.
So, changing i_compr_blocks without protection is racy and we need to
protect it by changing it with atomic type value. Plus, we don't need
a 64bit value for i_compr_blocks, so just we will use a atomic value,
not atomic64.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-09-11 11:11:26 -07:00
..
2019-05-08 21:23:11 -07:00
2020-09-10 14:03:31 -07:00
2020-01-17 16:48:07 -08:00
2020-07-26 08:15:40 -07:00
2020-05-11 20:36:46 -07:00
2020-03-10 09:18:33 -07:00
2020-07-26 08:15:40 -07:00