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
Parents
rS356682: Code must not unlock a mutex while owning the thread lock.
Branches
Unknown
Tags
Unknown