summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_vfsops.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-09-10 16:34:10 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-09-10 16:34:10 +0000
commit924988b6ec2a9e6a026b5489028ad504451931ac (patch)
tree1b3c600d98211e262609942c2f20c60816cd46ec /sys/ntfs/ntfs_vfsops.c
parentdc82911ae9236515748693d3963bcf4c56827fcb (diff)
Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)
have been resolved.
Diffstat (limited to 'sys/ntfs/ntfs_vfsops.c')
-rw-r--r--sys/ntfs/ntfs_vfsops.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index 13a75cb1ef4..e6fc2ebfdf9 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vfsops.c,v 1.22 2010/09/07 00:41:05 thib Exp $ */
+/* $OpenBSD: ntfs_vfsops.c,v 1.23 2010/09/10 16:34:09 thib Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
/*-
@@ -831,7 +831,7 @@ ntfs_vgetex(
}
}
- error = getnewvnode(VT_NTFS, ntmp->ntm_mountp, &ntfs_vops, &vp);
+ error = getnewvnode(VT_NTFS, ntmp->ntm_mountp, ntfs_vnodeop_p, &vp);
if(error) {
ntfs_frele(fp);
ntfs_ntput(ip, p);
@@ -869,6 +869,13 @@ ntfs_vget(
LK_EXCLUSIVE | LK_RETRY, 0, curproc, vpp); /* XXX */
}
+extern const struct vnodeopv_desc ntfs_vnodeop_opv_desc;
+
+const struct vnodeopv_desc * const ntfs_vnodeopv_descs[] = {
+ &ntfs_vnodeop_opv_desc,
+ NULL,
+};
+
const struct vfsops ntfs_vfsops = {
ntfs_mount,
ntfs_start,