commit | 33fdebbb0e7e83fd0096ca636a08c8ca1452143d | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Oct 09 17:55:19 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Nov 15 22:06:19 2017 -0800 |
tree | 4d77935e5af0e0cb9aea4a724384b989298a3f2d | |
parent | 595046758d8e69c440ea2f25d6a3014fa099a0ca [diff] |
f2fs: fix to avoid race when accessing last_disk_size last_disk_size could be wrong due to concurrently updating, so using i_sem semaphore to make last_disk_size updating exclusive to fix this issue. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>