summaryrefslogtreecommitdiffstats
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-14 07:29:40 +0000
committerjeff <jeff@FreeBSD.org>2005-03-14 07:29:40 +0000
commiteaf9deaeb70e433131a0320ac0ce9e5f7a8c9df7 (patch)
tree7e580b78d41f469ae299101fb7b6e3dffe558627 /sys/sys/vnode.h
parentbb63517e7e0f7af6a62d67c01c83cb9c5cb2f8f7 (diff)
downloadFreeBSD-src-eaf9deaeb70e433131a0320ac0ce9e5f7a8c9df7.zip
FreeBSD-src-eaf9deaeb70e433131a0320ac0ce9e5f7a8c9df7.tar.gz
- Retire OLOCK and OWANT. All callers hold the vnode lock when creating
a vnode object. There has been an assert to prove this for some time. Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 72744cd..ddcfd8f 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -232,8 +232,6 @@ struct xvnode {
* VI flags are protected by interlock and live in v_iflag
* VV flags are protected by the vnode lock and live in v_vflag
*/
-#define VI_OLOCK 0x0008 /* vnode is locked waiting for an object */
-#define VI_OWANT 0x0010 /* a thread is waiting for VOLOCK */
#define VI_MOUNT 0x0020 /* Mount in progress */
#define VI_AGE 0x0040 /* Insert vnode at head of free list */
#define VI_DOOMED 0x0080 /* This vnode is being recycled */
OpenPOWER on IntegriCloud