summaryrefslogtreecommitdiff
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2024-05-06 18:41:37 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2024-05-10 03:38:28 +0000
commit043c832371cd9023fbd725138ddc6c7f288dc469 (patch)
treeb9a9c1cacdc1d076f41db2259a3e1a7c4f68563c /fs/f2fs/file.c
parenta3a0bc6c223908a2a06736bcd43db962e0657c67 (diff)
downloadlinux-043c832371cd9023fbd725138ddc6c7f288dc469.tar.gz
linux-043c832371cd9023fbd725138ddc6c7f288dc469.tar.bz2
linux-043c832371cd9023fbd725138ddc6c7f288dc469.zip
f2fs: compress: fix error path of inc_valid_block_count()
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>
Diffstat (limited to 'fs/f2fs/file.c')
0 files changed, 0 insertions, 0 deletions