diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-09-07 00:41:06 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-09-07 00:41:06 +0000 |
commit | 50e414e8ea506394fa3f997b69f8ac5476dfa0a2 (patch) | |
tree | a1d00f02bfd395316b1cd15d4148023e5d624bf0 /sys/ntfs/ntfs_vfsops.c | |
parent | 1513675759b43b6bab2d999a28f5fd9dc0cf3522 (diff) |
Allow NTFS to compile by cutting it over to the new VOP world order.
Small cleanup while here, nuke the ntfs_bypass function and just
use eopnotsupp like every other filesystem, it makes no sense to
return ENOTTY for unimplemented VOPs.
Diffstat (limited to 'sys/ntfs/ntfs_vfsops.c')
-rw-r--r-- | sys/ntfs/ntfs_vfsops.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c index cbc05b179f9..13a75cb1ef4 100644 --- a/sys/ntfs/ntfs_vfsops.c +++ b/sys/ntfs/ntfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vfsops.c,v 1.21 2010/09/04 21:35:58 tedu Exp $ */ +/* $OpenBSD: ntfs_vfsops.c,v 1.22 2010/09/07 00:41:05 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_vnodeop_p, &vp); + error = getnewvnode(VT_NTFS, ntmp->ntm_mountp, &ntfs_vops, &vp); if(error) { ntfs_frele(fp); ntfs_ntput(ip, p); @@ -869,13 +869,6 @@ 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, |