]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfs: correctly predict last fdrop on failed open
authorMateusz Guzik <mjg@FreeBSD.org>
Sun, 13 Dec 2020 21:28:15 +0000 (21:28 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Sun, 13 Dec 2020 21:28:15 +0000 (21:28 +0000)
commitd48c2b8d29db7700bfa69d3d9e620e008fc0a091
treeace24e743a7715c03838cb43d70dd5990a49d61a
parent203affb291804a2010763a3ab081f1d04d3ff40d
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