]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: recheck support after replaying journal
authorDarrick J. Wong <djwong@kernel.org>
Thu, 28 Aug 2025 17:30:43 +0000 (10:30 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 17 Oct 2025 23:34:22 +0000 (16:34 -0700)
commit43638f52eb2ff264940d233c7103a00f77c409ed
tree72787e6e135fcb982e4019fc3f97312771a9d952
parentcc09f5bb67474e2b2f29f0a6211552757707ce6e
fuse2fs: recheck support after replaying journal

The journal could have contained a new primary superblock, so we need to
recheck feature support after recovering it, because otherwise fuse2fs
could blow up on an unsupported feature that was enabled by a journal
transaction.

We also don't need to clear needsrecovery or dirty the superblock after
recovering the journal because ext2fs_run_ext3_journal does that for us.
Remove those lines.

Cc: <linux-ext4@vger.kernel.org> # v1.43
Fixes: 81cbf1ef4f5dab ("misc: add fuse2fs, a FUSE server for e2fsprogs")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
misc/fuse2fs.c