aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/include/efipoint.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2019-09-04 19:23:18 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2019-09-04 19:23:18 +0000
commitc07d4a0a681c7db4fd30dd27a3b949f1820e63c3 (patch)
tree8daa1a8d24668c8025daf8367f20b24dfed2bdeb /stand/efi/include/efipoint.h
parent10bb6d358ddfb61b464e0c2dd33fe3b5bb0fcf42 (diff)
downloadsrc-c07d4a0a681c7db4fd30dd27a3b949f1820e63c3.tar.gz
src-c07d4a0a681c7db4fd30dd27a3b949f1820e63c3.zip
vfs: fully hold vnodes in vnlru_free_locked
Currently the code only bumps holdcnt and clears the VI_FREE flag, not performing actual vhold. Since the vnode is still visible elsewhere, a potential new user can find it and incorrectly assume it is properly held. Use vholdl instead to correctly hold the vnode. Another place recycling (vlrureclaim) does this already. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21522
Notes
Notes: svn path=/head/; revision=351825
Diffstat (limited to 'stand/efi/include/efipoint.h')
0 files changed, 0 insertions, 0 deletions