android_kernel_xiaomi_sm8450/fs/f2fs
Chao Yu df4978d968 f2fs: compress: clean up parameter of __f2fs_cluster_blocks()
[ Upstream commit 91f0fb6903ed30370135381f10c02a10c7872cdc ]

Previously, in order to reuse __f2fs_cluster_blocks(),
f2fs_is_compressed_cluster() assigned a compress_ctx type variable,
which is used to pass few parameters (cc.inode, cc.cluster_size,
cc.cluster_idx), it's wasteful to allocate such large space in stack.

Let's clean up parameters of __f2fs_cluster_blocks() to avoid that.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 7c5dffb3d90c ("f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:32:17 +02:00
..
acl.c f2fs: clean up kvfree 2020-09-14 11:15:37 -07:00
acl.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
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: compress: clean up parameter of __f2fs_cluster_blocks() 2024-06-16 13:32:17 +02:00
data.c f2fs: add compress_mode mount option 2024-06-16 13:32:17 +02: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: add compress_mode mount option 2024-06-16 13:32:17 +02:00
file.c f2fs: fix to wait on page writeback in __clone_blkaddrs() 2024-06-16 13:32:16 +02: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: compress: support chksum 2024-06-16 13:32:17 +02:00
Kconfig f2fs: compress: support lzo-rle compress algorithm 2020-05-11 20:36:46 -07:00
Makefile f2fs: support data compression 2020-01-17 16:48:07 -08: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: add compress_mode mount option 2024-06-16 13:32:17 +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: add compress_mode mount option 2024-06-16 13:32:17 +02:00
sysfs.c f2fs: fix iostat lock protection 2023-06-14 11:09:31 +02:00
trace.c f2fs: do not use mutex lock in atomic context 2019-03-05 19:58:06 -08:00
trace.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
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