]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfs: correctly predict last fdrop on failed open
authormjg <mjg@FreeBSD.org>
Sun, 13 Dec 2020 21:28:15 +0000 (21:28 +0000)
committermjg <mjg@FreeBSD.org>
Sun, 13 Dec 2020 21:28:15 +0000 (21:28 +0000)
commit6225bd637ed5b59edfbfaa757d1f6c6666097b3d
treeace24e743a7715c03838cb43d70dd5990a49d61a
parent5afc8e8812e2a11b4bb2e362ea67436542309e9f
vfs: correctly predict last fdrop on failed open

Arguably since the count is guaranteed to be 1 the code should be modified
to avoid the work.
sys/kern/vfs_syscalls.c