From: "Darrick J. Wong" <djwong@kernel.org>
To: tytso@mit.edu
Cc: linux-ext4@vger.kernel.org
Subject: [PATCH 3/3] fuse2fs: recheck support after replaying journal
Date: Mon, 15 Sep 2025 17:02:58 -0700 [thread overview]
Message-ID: <175798064633.349841.13728896501759012525.stgit@frogsfrogsfrogs> (raw)
In-Reply-To: <175798064569.349841.5710112269701643406.stgit@frogsfrogsfrogs>
From: Darrick J. Wong <djwong@kernel.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@kernel.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;
}
}
prev parent reply other threads:[~2025-09-16 0:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 23:58 [PATCHSET 3/6] fuse2fs: refactor mount code Darrick J. Wong
2025-09-16 0:02 ` [PATCH 1/3] fuse2fs: split filesystem mounting into helper functions Darrick J. Wong
2025-09-16 0:02 ` [PATCH 2/3] fuse2fs: make norecovery behavior consistent with the kernel Darrick J. Wong
2025-09-16 0:02 ` Darrick J. Wong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175798064633.349841.13728896501759012525.stgit@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox