]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: check for recorded fs errors before touching things
authorDarrick J. Wong <djwong@kernel.org>
Tue, 8 Jul 2025 23:04:35 +0000 (16:04 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 21 Aug 2025 00:00:54 +0000 (17:00 -0700)
commit5aba0ce6aa6f586e8bbd698a8e9fbe1644bebb48
tree1dc36eda24602763eff68a86ccca87bdddc60285
parenta78c7ad99ee036218762a69e7736e2e5163cf8ac
fuse2fs: check for recorded fs errors before touching things

Refuse the mount if there are errors recorded in the superblock.  We
should not be trying to replay the journal on damaged filesystems.

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