summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xfs/xfs_node.c')
-rw-r--r--sys/xfs/xfs_node.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/xfs/xfs_node.c b/sys/xfs/xfs_node.c
index a0ad87b616d..324fddc880c 100644
--- a/sys/xfs/xfs_node.c
+++ b/sys/xfs/xfs_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xfs_node.c,v 1.2 1998/08/31 05:13:16 art Exp $ */
+/* $OpenBSD: xfs_node.c,v 1.3 1998/09/06 01:48:58 art Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -44,6 +44,7 @@
#include <sys/systm.h>
#include <sys/dirent.h>
#include <sys/mount.h>
+#include <sys/vnode.h>
#include <xfs/xfs_common.h>
#include <xfs/xfs_fs.h>
@@ -93,7 +94,7 @@ new_xfs_node(struct xfs *xfsp, struct xfs_msg_node *node,
bzero(result, sizeof(*result));
- error = getnewvnode(VT_AFS, XFS_TO_VFS(xfsp), xfs_vnodeop_p,
+ error = getnewvnode(VT_XFS, XFS_TO_VFS(xfsp), xfs_vnodeop_p,
&v);
if (error) {
xfs_free(result, sizeof(*result));