[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175798064633.349841.13728896501759012525.stgit@frogsfrogsfrogs>
Date: Mon, 15 Sep 2025 17:02:58 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 3/3] 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 5917569c0a8d32..48473321f469dc 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -1045,6 +1045,10 @@ static int fuse2fs_mount(struct fuse2fs *ff)
fs = ff->fs;
ext2fs_clear_feature_journal_needs_recovery(fs->super);
ext2fs_mark_super_dirty(fs);
+
+ err = fuse2fs_check_support(ff);
+ if (err)
+ return err;
}
}
Powered by blists - more mailing lists