Re: [PATCH v2 2/3] ext4: avoid journaling sb update on error if journal is destroying

From: Eric Sandeen
Date: Wed Mar 12 2025 - 09:57:55 EST


On 3/6/25 8:28 AM, Ojaswin Mujoo wrote:
> diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
> index 2b7d781bfcad..d48e93bd5690 100644
> --- a/fs/ext4/ext4.h
> +++ b/fs/ext4/ext4.h
> @@ -1728,6 +1728,8 @@ struct ext4_sb_info {
> */
> struct work_struct s_sb_upd_work;
>
> + bool s_journal_destorying;

Just a late nitpick and noted that Jan suggested making this a flag,
but just in case, this is a typo: s_journal_destorying -> s_journal_destroying

Thanks,
-Eric

> /* Atomic write unit values in bytes */
> unsigned int s_awu_min;
> unsigned int s_awu_max;