Re: [PATCH v2 1/1] jbd2: gracefully abort on checkpointing state corruptions

From: Theodore Ts'o

Date: Sat Mar 28 2026 - 01:33:22 EST



On Tue, 10 Mar 2026 21:15:48 -0700, Milos Nikic wrote:
> This patch targets two internal state machine invariants in checkpoint.c
> residing inside functions that natively return integer error codes.
>
> - In jbd2_cleanup_journal_tail(): A blocknr of 0 indicates a severely
> corrupted journal superblock. Replaced the J_ASSERT with a WARN_ON_ONCE
> and a graceful journal abort, returning -EFSCORRUPTED.
>
> [...]

Applied, thanks!

[1/1] jbd2: gracefully abort on checkpointing state corruptions
commit: bac3190a8e79beff6ed221975e0c9b1b5f2a21da

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