HomeFreeBSD

fd: remove redundant saturation check from fget_unlocked_seq

Description

fd: remove redundant saturation check from fget_unlocked_seq

refcount_acquire_if_not_zero returns true on saturation.
The case of 0 is handled by looping again, after which the originally
found pointer will no longer be there.

Noted by: kib

Details

Provenance
mjgAuthored on Dec 16 2020, 6:01 PM
Parents
rG7bd0c4c47d83: Complete steps 5 and 9 from Committer's guide
Branches
Unknown
Tags
Unknown

Event Timeline