HomeFreeBSD

devfs: fix use count leak when using TIOCSCTTY

Description

devfs: fix use count leak when using TIOCSCTTY

by matching devfs_ctty_ref

Fixes: 3b44443626603f65 ("devfs: rework si_usecount to track opens")

Details

Provenance
mjgAuthored on Feb 8 2021, 10:10 PM
Parents
rG57785538c6e0: Simplify the FreeBSD check using __FreeBSD__ compiler macro.
Branches
Unknown
Tags
Unknown