Re: [PATCH] ext4: Drop the call to ext4_error() from ext4_get_group_info()
From: Theodore Ts'o
Date: Thu Jun 15 2023 - 11:00:34 EST
On Wed, 14 Jun 2023 12:02:55 +0200, Fabio M. De Francesco wrote:
> A recent patch added a call to ext4_error() which is problematic since
> some callers of the ext4_get_group_info() function may be holding a
> spinlock, whereas ext4_error() must never be called in atomic context.
>
> This triggered a report from Syzbot: "BUG: sleeping function called from
> invalid context in ext4_update_super" (see the link below).
>
> [...]
Applied, thanks!
[1/1] ext4: Drop the call to ext4_error() from ext4_get_group_info()
commit: f451fd97dd2b78f286379203a47d9d295c467255
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>