erofs: simplify iloc()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 14 Jan 2023 15:08:23 +0000 (23:08 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 15 Feb 2023 00:11:24 +0000 (08:11 +0800)
commitb780d3fc6107464dcc43631a6208c43b6421f1e6
tree818dce585e72f63ab6d7e7306a1173eba4b0b103
parente324eaa9790614577c93e819651e0a83963dac79
erofs: simplify iloc()

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>
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