Skip to content
Commit b5ecf59f authored by Sheng Yong's avatar Sheng Yong Committed by Sasha Levin
Browse files

f2fs: compress: fix to check unreleased compressed cluster

[ Upstream commit eb8fbaa5 ]

Compressed cluster may not be released due to we can fail in
release_compress_blocks(), fix to handle reserved compressed
cluster correctly in reserve_compress_blocks().

Fixes: 4c8ff709

 ("f2fs: support data compression")
Signed-off-by: default avatarSheng Yong <shengyong@oppo.com>
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 542c8b3c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment