Re: [PATCH] ext4: guard against NULL s_group_info in ext4_get_group_info

From: Theodore Ts'o

Date: Thu Aug 06 2026 - 11:01:29 EST



On Tue, 04 Aug 2026 12:55:33 +0800, Junzhe Yu wrote:
> Resend: previous attempt was rejected by vger for containing HTML.
>
> ==================================================================
>
> ext4_mark_group_bitmap_corrupted() already treats a NULL return from
> ext4_get_group_info() as "nothing to do", but ext4_get_group_info()
> indexes s_group_info without checking whether the array exists.
>
> [...]

Applied, thanks!

[1/1] ext4: guard against NULL s_group_info in ext4_get_group_info
commit: 8f3901fbb40745046e513226ad84e8b84492632d

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>