HomeFreeBSD

msdosfs: clusterfree() is used only in error handling cases

Description

msdosfs: clusterfree() is used only in error handling cases

Change its return type to void, because its result is ignored in both
call sites. Remove oldcnp argument as well, it is NULL always.

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

Details

Provenance
kibAuthored on Jan 4 2022, 2:43 PM
Differential Revision
D33721: Improve msdosfs robustness
Parents
rGaec97963cd03: msdosfs: do no allow lookup to return vdp except for dot lookups
Branches
Unknown
Tags
Unknown