VNode sequencing and locking - part 1/4.
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 Aug 2006 22:47:36 +0000 (22:47 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 Aug 2006 22:47:36 +0000 (22:47 +0000)
commit44b1cf3dde5a3bcad373ed2dbc821befd0035531
tree064bcae958cb40800ab1955e517054224e187ab0
parent50964f6223d3efba4fc0f83c90acb52a74864b4e
VNode sequencing and locking - part 1/4.

Separate vref() for the case where the ref count is already non-zero (which
is nearly all uses of vref()), vs the case where it might be zero.  Clean
up the code in preparation for putting it under a spinlock.
sys/emulation/linux/linux_util.c
sys/kern/vfs_cache.c
sys/kern/vfs_lock.c
sys/kern/vfs_mount.c
sys/kern/vfs_subr.c
sys/sys/vnode.h
sys/vfs/fdesc/fdesc_vfsops.c
sys/vfs/nullfs/null_vfsops.c
sys/vfs/portal/portal_vfsops.c