[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174786678817.1385354.15500841625097960030.stgit@frogsfrogsfrogs>
Date: Wed, 21 May 2025 15:46:56 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 07/10] fuse2fs: recheck support after replaying journal
From: Darrick J. Wong <djwong@...nel.org>
The journal could have contained a new primary superblock, so we need to
recheck feature support after recovering it.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
misc/fuse2fs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c
index 7c61c470723a88..2d4b9c8f51264e 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -800,6 +800,10 @@ _("Mounting read-only without recovering journal."));
}
ext2fs_clear_feature_journal_needs_recovery(fs->super);
ext2fs_mark_super_dirty(fs);
+
+ err = check_fs_supported(ff);
+ if (err)
+ return err;
}
}
Powered by blists - more mailing lists