summaryrefslogtreecommitdiff
path: root/sys/xfs
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-29 21:28:06 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-29 21:28:06 +0000
commit489acaf229d2fbf30765b32fba8331df5edf5d4f (patch)
tree9a2105d16fc9b1c88e3069da0a2b03b1c6c8f57a /sys/xfs
parent921efaab16638b45c9ea866275435c24143bad9d (diff)
make xfs use VT_XFS instead of VT_AFS when getting vnodes
via getnewvnode(); ok art@,tedu@ tested by todd@
Diffstat (limited to 'sys/xfs')
-rw-r--r--sys/xfs/xfs_node-bsd.c2
-rw-r--r--sys/xfs/xfs_syscalls-common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/xfs/xfs_node-bsd.c b/sys/xfs/xfs_node-bsd.c
index 9d635545f6d..0ceea050e63 100644
--- a/sys/xfs/xfs_node-bsd.c
+++ b/sys/xfs/xfs_node-bsd.c
@@ -58,7 +58,7 @@ xfs_getnewvnode(struct xfs *xfsp, struct vnode **vpp,
struct xfs_node *result, *check;
int error;
- error = getnewvnode(VT_AFS, NNPFS_TO_VFS(xfsp), xfs_vnodeop_p, vpp);
+ error = getnewvnode(VT_XFS, NNPFS_TO_VFS(xfsp), xfs_vnodeop_p, vpp);
if (error)
return error;
diff --git a/sys/xfs/xfs_syscalls-common.c b/sys/xfs/xfs_syscalls-common.c
index 271ac225245..dc0b1a6da23 100644
--- a/sys/xfs/xfs_syscalls-common.c
+++ b/sys/xfs/xfs_syscalls-common.c
@@ -506,7 +506,7 @@ remote_pioctl (d_thread_t *p,
if (vp != NULL) {
struct xfs_node *xn;
- if (vp->v_tag != VT_AFS) {
+ if (vp->v_tag != VT_XFS) {
NNPFSDEB(XDEBSYS, ("xfs_syscall: file is not in afs\n"));
vrele(vp);
error = EINVAL;