aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-09-21 03:47:43 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-09-21 03:47:43 +0000
commitc901836c143aeb5695c20bb3a7c28d297e5829d3 (patch)
tree1c73df5527fa425afd9acc6b6f44948163165c7b /sys/sys/vnode.h
parent84cc2dc3328a37262a2dcd994aab6c0f479a1dc3 (diff)
downloadsrc-c901836c143aeb5695c20bb3a7c28d297e5829d3.tar.gz
src-c901836c143aeb5695c20bb3a7c28d297e5829d3.zip
Implemented loadable VFS modules, and made most existing filesystems
loadable. (NFS is a notable exception.)
Notes
Notes: svn path=/head/; revision=2946
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index e20b71ce692e..db3793292002 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
- * $Id: vnode.h,v 1.5 1994/09/15 20:24:29 bde Exp $
+ * $Id: vnode.h,v 1.6 1994/09/19 15:41:57 dfr Exp $
*/
#ifndef _SYS_VNODE_H_
@@ -211,6 +211,12 @@ void vref __P((struct vnode *));
#define NULLVP ((struct vnode *)NULL)
+#ifdef VFS_LKM
+#define VNODEOP_SET(f) DATA_SET(MODVNOPS,f)
+#else
+#define VNODEOP_SET(f) DATA_SET(vfs_opv_descs_,f)
+#endif
+
/*
* Global vnode data.
*/