HomeFreeBSD

msdosfs: add msdosfs_integrity_error()

Description

msdosfs: add msdosfs_integrity_error()

A function to remount the filesystem from rw to ro on integrity error.
The work is performed in taskqueue to allow the call to be done from
almost arbitrary context where erronous state was detected.

Tested by: 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 25 2021, 9:20 PM
Reviewer
markj
Differential Revision
D33721: Improve msdosfs robustness
Parents
rG4a4b059a9795: Add vfs_remount_ro()
Branches
Unknown
Tags
Unknown