diff options
author | 2010-09-07 00:41:05 +0000 | |
---|---|---|
committer | 2010-09-07 00:41:05 +0000 | |
commit | 330372c95aa7181ab1be1ce8f23751f50bd58208 (patch) | |
tree | 661925b38fe22665ce3414b409c7db873d10091e /sys/ntfs/ntfs_vfsops.c | |
parent | Update the documentation reflecting the latest churn in the vop layer. (diff) | |
download | wireguard-openbsd-330372c95aa7181ab1be1ce8f23751f50bd58208.tar.xz wireguard-openbsd-330372c95aa7181ab1be1ce8f23751f50bd58208.zip |
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, |