linux-stable/fs/f2fs
Sheng Yong 6370d070e2 f2fs: compress: fix to check unreleased compressed cluster
[ Upstream commit eb8fbaa533 ]

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: 4c8ff7095b ("f2fs: support data compression")
Signed-off-by: Sheng Yong <shengyong@oppo.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:22:00 -04:00
..
Kconfig
Makefile
acl.c f2fs: clean up kvfree 2020-09-14 11:15:37 -07:00
acl.h
checkpoint.c f2fs: fix to drop all dirty pages during umount() if cp_error is set 2023-05-30 12:57:49 +01:00
compress.c f2fs: avoid format-overflow warning 2023-11-28 16:55:00 +00:00
data.c f2fs: fix to drop all dirty pages during umount() if cp_error is set 2023-05-30 12:57:49 +01:00
debug.c f2fs: avoid race condition for shrinker count 2021-01-06 14:56:54 +01:00
dir.c f2fs: reduce the scope of setting fsck tag when de->name_len is zero 2021-09-18 13:40:13 +02:00
extent_cache.c f2fs: let's avoid panic if extent_tree is not created 2023-01-24 07:19:56 +01:00
f2fs.h f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io() 2023-07-27 08:44:25 +02:00
file.c f2fs: compress: fix to check unreleased compressed cluster 2024-03-26 18:22:00 -04:00
gc.c f2fs: fix to do sanity check on inode type during garbage collection 2023-11-08 17:30:46 +01:00
gc.h f2fs: support age threshold based garbage collection 2020-09-11 11:11:15 -07:00
hash.c f2fs-for-5.8-rc1 2020-06-09 11:28:59 -07:00
inline.c f2fs: use memcpy_{to,from}_page() where possible 2023-03-11 16:40:09 +01:00
inode.c f2fs: fix to do sanity check for inline inode 2022-06-09 10:21:21 +02:00
namei.c f2fs: fix to avoid dirent corruption 2024-01-25 14:37:46 -08:00
node.c f2fs: fix error path handling in truncate_dnode() 2023-07-27 08:44:09 +02:00
node.h f2fs: avoid race condition for shrinker count 2021-01-06 14:56:54 +01:00
recovery.c f2fs: fix write pointers on zoned device after roll forward 2024-02-23 08:42:11 +01:00
segment.c f2fs: apply zone capacity to all zone type 2023-05-17 11:47:49 +02:00
segment.h f2fs: apply zone capacity to all zone type 2023-05-17 11:47:49 +02:00
shrinker.c f2fs: avoid race condition for shrinker count 2021-01-06 14:56:54 +01:00
super.c f2fs: enforce single zone capacity 2023-05-17 11:47:49 +02:00
sysfs.c f2fs: fix iostat lock protection 2023-06-14 11:09:31 +02:00
trace.c
trace.h
verity.c fs: f2fs: initialize fsdata in pagecache_write() 2023-03-11 16:40:09 +01:00
xattr.c f2fs: explicitly null-terminate the xattr list 2024-01-25 14:37:35 -08:00
xattr.h f2fs: code cleanup by removing ifdef macro surrounding 2020-05-26 18:56:10 -07:00