]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fd: fix fdrop prediction when closing a fd
authorMateusz Guzik <mjg@FreeBSD.org>
Sun, 13 Dec 2020 18:06:24 +0000 (18:06 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Sun, 13 Dec 2020 18:06:24 +0000 (18:06 +0000)
commitedcdcefb88a833d5170461993ee5c91a83a00ece
tree189689dbf23b94bac2f58d2fa77480096b043287
parent87c1ec0a31cce6441c52f6101d99482e50aeffba
fd: fix fdrop prediction when closing a fd

Most of the time this is the last reference, contrary to typical fdrop use.
sys/kern/kern_descrip.c
sys/sys/file.h