HomeFreeBSD

msdosfs: handle inconsistently hashed denodes

Description

msdosfs: handle inconsistently hashed denodes

It is possible, on the corrupted msdosfs volume, to have file which
denode inode number does not match the one calculated using directory
cluster. Instead of asserting the condition as impossible, handle it
and return error, after reclaiming the aliased vnode.

In collaboration with: pho
Reviewed by: markj, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33721

Details

Provenance
kibAuthored on Dec 23 2021, 11:21 PM
Reviewer
markj
Differential Revision
D33721: Improve msdosfs robustness
Parents
rG9f4073d44628: geom label msdosfs: sanity check BPB before using it for io request
Branches
Unknown
Tags
Unknown