HomeFreeBSD

ufs: relax an overzealous assert added in r356671

Description

ufs: relax an overzealous assert added in r356671

Part of i_flag can persist across a drop to hold count of 0, at which
point the vnode is taken off the lazy list. Then whoever locks and unlocks
the vnode can trip on the assert.

This trips over kyua running a test untarring character devices to ufs.

Reported by: lwhsu

Details

Provenance
mjgAuthored on Jan 13 2020, 2:33 PM
Parents
rGfedab1b4998d: Code must not unlock a mutex while owning the thread lock.
Branches
Unknown
Tags
Unknown

Event Timeline