commit | 944dd22ea4475bd11180fd2f431a4a547ca4d8f5 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Jul 24 18:21:36 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jul 26 08:19:06 2020 -0700 |
tree | 4ddd109ccc26d7a02dc47fb1f1f3af8a25b10608 | |
parent | a87aff1d491f6d824d9cc53303544361d7eaae75 [diff] |
f2fs: compress: fix to update isize when overwriting compressed file We missed to update isize of compressed file in write_end() with below case: cluster size is 16KB - write 14KB data from offset 0 - overwrite 16KB data from offset 0 Fixes: 4c8ff7095bef ("f2fs: support data compression") Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>