summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-29 23:36:26 +0000
committerjeff <jeff@FreeBSD.org>2008-03-29 23:36:26 +0000
commitef1b5135a944eaca4ee229eb22b7fda38043f8c5 (patch)
tree39f9342e6083b171a7cdadf4becb9b31e2d7cf27 /sbin
parent26629f5add30a8592d5c987266c9944bce79c21e (diff)
downloadFreeBSD-src-ef1b5135a944eaca4ee229eb22b7fda38043f8c5.zip
FreeBSD-src-ef1b5135a944eaca4ee229eb22b7fda38043f8c5.tar.gz
- Don't allow calls to vn_lock() with no lock type requested. Callers
which simply want a reference should use vref(). Callers which want to check validity need to hold a lock while performing any action based on that validity. vn_lock() would always release the interlock before returning making any action synchronous with the validity check impossible.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud