diff options
author | jeff <jeff@FreeBSD.org> | 2008-03-29 23:36:26 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-03-29 23:36:26 +0000 |
commit | ef1b5135a944eaca4ee229eb22b7fda38043f8c5 (patch) | |
tree | 39f9342e6083b171a7cdadf4becb9b31e2d7cf27 /sbin | |
parent | 26629f5add30a8592d5c987266c9944bce79c21e (diff) | |
download | FreeBSD-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