Home
last modified time | relevance | path

Searched hist:"81 c975902b15701260f8f26b25235b50f043fb35" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Df2fs.hdiff 81c975902b15701260f8f26b25235b50f043fb35 Mon May 06 05:41:37 CDT 2024 Chao Yu <chao@kernel.org> f2fs: compress: fix error path of inc_valid_block_count()

[ Upstream commit 043c832371cd9023fbd725138ddc6c7f288dc469 ]

If inc_valid_block_count() can not allocate all requested blocks,
it needs to release block count in .total_valid_block_count and
resevation blocks in inode.

Fixes: 54607494875e ("f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnode")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>