HomeFreeBSD

Check for mismatched vref()/vdrop()

Description

Check for mismatched vref()/vdrop()

Assert that the hold count has not fallen below the use count, a situation
that would only happen when a vref() (or similar) is erroneously paired
with a vdrop(). This situation has not been observed in the wild, but
could be helpful for someone implementing a new filesystem.

Reviewed by: kib
Approved by: hrs (mentor)

Details

Provenance
bjkAuthored on
Parents
rS266481: Old PCIe implementations cannot allow a DMA transfer to cross a 4GB
Branches
Unknown
Tags
Unknown

Event Timeline