HomeFreeBSD

msdosfs: return ENOENT if looking up invalid name for OPEN or DELETE

Description

msdosfs: return ENOENT if looking up invalid name for OPEN or DELETE

and keep reporting EINVAL for CREATE or RENAME lookups. The reasoning is
that non-corrupted filesystem cannot have invalid dirents anyway, so
returning ENOENT is more in-line with the natural behavior.

PR: 281033
MFC after: 1 week

Details

Provenance
jlduranAuthored on Aug 25 2024, 2:50 PM
kibCommitted on Aug 25 2024, 2:50 PM
Parents
rG4f39ff1ea0a0: setkey(8): document -hwif extension
Branches
Unknown
Tags
Unknown