summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-05-12 11:52:57 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2021-05-14 20:22:09 +0200
commit91f0fb6903ed30370135381f10c02a10c7872cdc (patch)
tree861a8cb185e54461078af09695f4912ecfc4e819 /fs/f2fs/inode.c
parentf2fs: compress: remove unneeded f2fs_put_dnode() (diff)
downloadlinux-91f0fb6903ed30370135381f10c02a10c7872cdc.tar.xz
linux-91f0fb6903ed30370135381f10c02a10c7872cdc.zip
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>
Diffstat (limited to 'fs/f2fs/inode.c')
0 files changed, 0 insertions, 0 deletions