Hello,

Milos Nikic, le lun. 31 août 2026 17:04:01 -0700, a ecrit:
> diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
> index 984df0448..469a7f132 100644
> --- a/ext2fs/ext2fs.c
> +++ b/ext2fs/ext2fs.c
> @@ -268,7 +268,12 @@ main (int argc, char **argv)
>        {
>         ext2_journal = journal_create (jnode);
>         if (ext2_journal)
> -         fprintf (stderr, "ext2fs: journaling enabled on %s\n", 
> diskfs_disk_name);
> +      {
> +        fprintf (stderr, "ext2fs: journaling enabled on %s\n", 
> diskfs_disk_name);
> +        /* Immediately mark the filesystem dirty and set needs_recovery on 
> disk */
> +        if (!diskfs_readonly)
> +          diskfs_set_hypermetadata (1, 0);

I don't understand why doing this? As long as we have not written
anything, the filesystem is clean?

Samuel

Reply via email to