HomeFreeBSD

msdosfs_integrity_error(): plug possible busy leak

Description

msdosfs_integrity_error(): plug possible busy leak

If taskqueue_enqueue() returned error, unbusy().
Handle parallel calls to msdosfs_integrity_error() by unbusying in
msdosfs_remount_ro() up to pending times.

Noted and reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D43482

Details

Provenance
kibAuthored on Jan 18 2024, 3:35 PM
Differential Revision
D43482: msdosfs_rename(): more resilence against corruption
Parents
rG661db9b390b4: msdosfs_rename(): implement several XXXs about downgrading to ro
Branches
Unknown
Tags
Unknown