diff options
author | Chao Yu <chao@kernel.org> | 2024-05-06 13:41:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-12 12:12:29 +0300 |
commit | 92b24f04d3e5f452d398bda0b063c92ff3e97c88 (patch) | |
tree | 8cf752446d915377b1db3a4b3f7d7c61f2844a98 /Documentation | |
parent | 9ec45f857a01b761756eb1687b3b057ad83371a6 (diff) | |
download | linux-92b24f04d3e5f452d398bda0b063c92ff3e97c88.tar.xz |
f2fs: compress: fix to update i_compr_blocks correctly
[ Upstream commit 186e7d71534df4589405925caca5597af7626c12 ]
Previously, we account reserved blocks and compressed blocks into
@compr_blocks, then, f2fs_i_compr_blocks_update(,compr_blocks) will
update i_compr_blocks incorrectly, fix it.
Meanwhile, for the case all blocks in cluster were reserved, fix to
update dn->ofs_in_node correctly.
Fixes: eb8fbaa53374 ("f2fs: compress: fix to check unreleased compressed cluster")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions