HomeFreeBSD

fd: stop looping in pwd_hold

Description

fd: stop looping in pwd_hold

We don't expect to fail acquiring the reference unless running into a corner
case. Just in case ensure forward progress by taking the lock.

Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D25616

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D25616: fd: stop looping in pwd_hold
Parents
rS363111: Add cross references betwen ttys(5) and related drivers
Branches
Unknown
Tags
Unknown