diff options
author | kib <kib@FreeBSD.org> | 2009-05-31 14:54:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-05-31 14:54:20 +0000 |
commit | 0e1f2d3b3e4e791ad8dc69b5d3edfdbc1eca9771 (patch) | |
tree | a410300811ee6eb4b37ec65b17adbd6d2d8ba53f /sys/kern/vfs_cache.c | |
parent | d52fd86523b726aba4b8411ebc8a3aae736ca352 (diff) | |
download | FreeBSD-src-0e1f2d3b3e4e791ad8dc69b5d3edfdbc1eca9771.zip FreeBSD-src-0e1f2d3b3e4e791ad8dc69b5d3edfdbc1eca9771.tar.gz |
Do not drop vnode interlock in null_checkvp(). null_lock() verifies that
v_data is not-null before calling NULLVPTOLOWERVP(), and dropping the
interlock allows for reclaim to clean v_data and free the memory.
While there, remove unneeded semicolons and convert the infinite loops
to panics. I have a will to remove null_checkvp() altogether, or leave
it as a trivial stub, but not now.
Reported and tested by: pho
Diffstat (limited to 'sys/kern/vfs_cache.c')
0 files changed, 0 insertions, 0 deletions