]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fd: stop looking for exact freefile after allocation
authormjg <mjg@FreeBSD.org>
Tue, 11 Dec 2018 11:57:12 +0000 (11:57 +0000)
committermjg <mjg@FreeBSD.org>
Tue, 11 Dec 2018 11:57:12 +0000 (11:57 +0000)
commit78cf9b9e38c0d584da0d9f57994634c1662947a9
tree0d35763d467996c06496946ade2d4627f27f9cd3
parent3e3733a17799e133ba2b542639bd347198f77860
fd: stop looking for exact freefile after allocation

If a lower fd is closed later, the lookup goes to waste. Allocation
always performs the lookup anyway.

Sponsored by: The FreeBSD Foundation
sys/kern/kern_descrip.c