Re: [PATCH 6.1.y] erofs: get rid of z_erofs_fill_inode()

From: Greg KH

Date: Wed Apr 08 2026 - 09:25:35 EST


On Wed, Mar 25, 2026 at 07:11:22PM +0800, driz2t wrote:
> [ Upstream commit 4fdadd5b0f0c723c812842454f8cca1619f2e731 ]
>
> Prior to big pclusters, non-compact compression indexes could have
> empty headers.
>
> Avoid the legacy path since it can be handled properly as a specific
> compression header with z_erofs_fill_inode_lazy() too.
>
> Tested with existing erofs-utils versions.
>
> Link: https://lore.kernel.org/r/20230413092241.73829-1-hsiangkao@xxxxxxxxxxxxxxxxx
> Link: https://syzkaller.appspot.com/bug?extid=016d861797fd718491a8
> Reported-by: syzbot+016d861797fd718491a8@xxxxxxxxxxxxxxxxxxxxxxxxx
> Tested-by: syzbot+016d861797fd718491a8@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Changjian Liu <driz2t@xxxxxx>
> ---
> fs/erofs/inode.c | 12 ++++++++----
> fs/erofs/internal.h | 2 --
> fs/erofs/zmap.c | 18 ------------------
> 3 files changed, 8 insertions(+), 24 deletions(-)

I see multiple versions from you sent, yet no clue as to which one is
correct, so I'm dropping them all. Please fix up and send a new one
properly versioned.

thanks,

greg k-h