HomeFreeBSD

Since vn_lock() with the LK_RETRY flag never returns an error

Description

Since vn_lock() with the LK_RETRY flag never returns an error
for FreeBSD-CURRENT, the code that checked for and returned the
error was broken. Change it to check for VI_DOOMED set after
vn_lock() and return an error for that case. I believe this
should only happen for forced dismounts.

Approved by: kib (mentor)

Details

Provenance
rmacklemAuthored on Jun 9 2009, 3:18 PM
Parents
rG4ef60d2686ab: Add support for multiple passes of the device tree during the boot-time
Branches
Unknown
Tags
Unknown

Event Timeline