diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-07-24 12:21:36 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-07-26 17:19:06 +0200 |
commit | 944dd22ea4475bd11180fd2f431a4a547ca4d8f5 (patch) | |
tree | 4ddd109ccc26d7a02dc47fb1f1f3af8a25b10608 /fs/stack.c | |
parent | f2fs: space related cleanup (diff) | |
download | linux-944dd22ea4475bd11180fd2f431a4a547ca4d8f5.tar.xz linux-944dd22ea4475bd11180fd2f431a4a547ca4d8f5.zip |
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>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions