diff options
-rw-r--r-- | sys/xfs/xfs_node-bsd.c | 2 | ||||
-rw-r--r-- | sys/xfs/xfs_syscalls-common.c | 2 |
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; |