]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: spot check clean journals
authorDarrick J. Wong <djwong@kernel.org>
Tue, 7 Oct 2025 21:10:18 +0000 (14:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 17 Oct 2025 23:34:22 +0000 (16:34 -0700)
commitcc09f5bb67474e2b2f29f0a6211552757707ce6e
treeabf8ff49dafd3ff0ef43c0679acfe08570d6eecd
parentebaa6cd230888d048fed8a4ada7bb54cf1b0f222
fuse2fs: spot check clean journals

Even though fuse2fs doesn't (yet) support writing new transactions to
the journal, we ought at least to check that the superblock is ok when
we mount a clean filesystem.  This fixes complaints by ext4/012 about
mount failing to notice a corrupt journal.

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>
debugfs/journal.c
debugfs/journal.h
misc/fuse2fs.c