HomeFreeBSD

ffs_update(): Do not assume that EBUSY can only come LK_NOWAIT trylock

Description

ffs_update(): Do not assume that EBUSY can only come LK_NOWAIT trylock

Instead do protective check for the local flags and do not interpret
EBUSY specially if we did not request trylock mode for bread().

Reviewed by: mckusick
Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Aug 26 2021, 4:17 PM
Parents
rGf822d4feb87a: ffs_update(): recalculate flags after relocking the vnode
Branches
Unknown
Tags
Unknown