Try to work-around a DFly-specific crash that can occur in ufs_ihashget()
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 27 Jan 2004 23:56:48 +0000 (23:56 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 27 Jan 2004 23:56:48 +0000 (23:56 +0000)
commit2811dfbd9a991de83765714548d71a7ade0342b9
treec38963a798ea7c10483e08a27d4a86789443e16b
parenta01a3fcda023b9b63d6184b1ed0d9b779ad17766
Try to work-around a DFly-specific crash that can occur in ufs_ihashget()
if the underlying vnode is being reclaimed at the same time.  Bump the
vnodes ref count to interlock against vget's VXLOCK test.
sys/kern/vfs_subr.c