HomeFreeBSD

timerfd: compute fflags before calling falloc

Description

timerfd: compute fflags before calling falloc

While here dodge list locking in timerfd_adjust if empty.

(cherry picked from commit 5eab523053db79b4bd4f926c7d7ac04444d9c1da)

Approved by: re (cperciva@)

Details

Provenance
mjgAuthored on Aug 25 2023, 3:09 PM
impCommitted on Sep 17 2023, 2:34 PM
Parents
rG8c496b26641e: timerfd: fix up a memory leak and missing locking
Branches
Unknown
Tags
Unknown