HomeFreeBSD

ffs_unlock: assert that IN_ENDOFF is not leaked past locked scope

Description

ffs_unlock: assert that IN_ENDOFF is not leaked past locked scope

This catches both missed processing of IN_ENDOFF and missed application
of VOP_VPUT_PAIR() after VOP that created an entry in the directory.

Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on Jan 31 2021, 7:01 PM
Parents
rG28703d27130c: ffs softdep: Force processing of VI_OWEINACT vnodes when there is inode shortage
Branches
Unknown
Tags
Unknown