]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fd: fix fdrop prediction when closing a fd
authormjg <mjg@FreeBSD.org>
Sun, 13 Dec 2020 18:06:24 +0000 (18:06 +0000)
committermjg <mjg@FreeBSD.org>
Sun, 13 Dec 2020 18:06:24 +0000 (18:06 +0000)
commit965745f995c478a837dca5c1ef79892e41080b4b
tree189689dbf23b94bac2f58d2fa77480096b043287
parent31dd1938ce370324ed8924ccb3bd606632d9de35
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