commit | 91f0fb6903ed30370135381f10c02a10c7872cdc | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Wed May 12 17:52:57 2021 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri May 14 11:22:09 2021 -0700 |
tree | 861a8cb185e54461078af09695f4912ecfc4e819 | |
parent | fbec3b963ae1d5610602c03336597cf0396cda62 [diff] |
f2fs: compress: clean up parameter of __f2fs_cluster_blocks() 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>