Re: [PATCH v5 0/2] jbd2: audit and convert legacy J_ASSERT usage

From: Theodore Ts'o

Date: Fri Apr 10 2026 - 11:31:08 EST



On Wed, 04 Mar 2026 09:20:14 -0800, Milos Nikic wrote:
> This patch series follows up on the previous discussion regarding
> converting hard J_ASSERT panics into graceful journal aborts.
>
> In v1, we addressed a specific panic on unlock. Per Jan's suggestion,
> I have audited fs/jbd2/transaction.c for other low-hanging fruit
> where state machine invariants are enforced by J_ASSERT inside
> functions that natively support error returns.
>
> [...]

Applied, thanks!

[1/2] jbd2: gracefully abort instead of panicking on unlocked buffer
commit: 64924362f833fd15d75d2b8fc771eff9646c0933
[2/2] jbd2: gracefully abort on transaction state corruptions
commit: f7fc28b014ebb00796f99f12f0583caab23276e3

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