erofs: get rid of z_erofs_fill_inode()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 13 Apr 2023 09:22:41 +0000 (17:22 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 16 Apr 2023 17:15:53 +0000 (01:15 +0800)
commit4fdadd5b0f0c723c812842454f8cca1619f2e731
treed277420257ea7833f8f24f381b5f65681a4d43a0
parent6a318ccd7e083729cbcdbd174d7070f6b7d24130
erofs: get rid of z_erofs_fill_inode()

Prior to big pclusters, non-compact compression indexes could have
empty headers.

Let's just avoid the legacy path since it can be handled properly
as a specific compression header with z_erofs_fill_inode_lazy() too.

Tested with erofs-utils exist versions.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20230413092241.73829-1-hsiangkao@linux.alibaba.com
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/zmap.c