summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_syscalls-common.c
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/xfs_syscalls-common.c
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/xfs_syscalls-common.c')
-rw-r--r--sys/xfs/xfs_syscalls-common.c2
1 files changed, 1 insertions, 1 deletions
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;