]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
erofs: simplify iloc()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 14 Jan 2023 15:08:23 +0000 (23:08 +0800)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:19:31 +0000 (17:19 +0200)
commit11a5654ff36433c12b7eaf8b55be217dd975bfc6
tree99a5193dfb45e721b5e52920afcd86f914fea155
parent8f88835136435334ba9bef137f4fdf916cf33b1b
erofs: simplify iloc()

BugLink: https://bugs.launchpad.net/bugs/2034469
[ Upstream commit b780d3fc6107464dcc43631a6208c43b6421f1e6 ]

Actually we could pass in inodes directly to clean up all callers.
Also rename iloc() as erofs_iloc().

Link: https://lore.kernel.org/r/20230114150823.432069-1-xiang@kernel.org
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Stable-dep-of: 001b8ccd0650 ("erofs: fix compact 4B support for 16k block size")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/erofs/data.c
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/xattr.c
fs/erofs/zmap.c
include/trace/events/erofs.h