Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/miscfs/kernfs/kernfs_vfsops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/miscfs/kernfs/kernfs_vfsops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.68 retrieving revision 1.69 diff -u -p -r1.68 -r1.69 --- src/sys/miscfs/kernfs/kernfs_vfsops.c 2005/08/30 20:08:01 1.68 +++ src/sys/miscfs/kernfs/kernfs_vfsops.c 2005/09/23 12:10:33 1.69 @@ -1,4 +1,4 @@ -/* $NetBSD: kernfs_vfsops.c,v 1.68 2005/08/30 20:08:01 xtraeme Exp $ */ +/* $NetBSD: kernfs_vfsops.c,v 1.69 2005/09/23 12:10:33 jmmv Exp $ */ /* * Copyright (c) 1992, 1993, 1995 @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kernfs_vfsops.c,v 1.68 2005/08/30 20:08:01 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kernfs_vfsops.c,v 1.69 2005/09/23 12:10:33 jmmv Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -77,10 +77,6 @@ int kernfs_quotactl(struct mount *, int, struct proc *); int kernfs_sync(struct mount *, int, struct ucred *, struct proc *); int kernfs_vget(struct mount *, ino_t, struct vnode **); -int kernfs_fhtovp(struct mount *, struct fid *, struct vnode **); -int kernfs_checkexp(struct mount *, struct mbuf *, int *, - struct ucred **); -int kernfs_vptofh(struct vnode *, struct fid *); void kernfs_init() @@ -276,39 +272,6 @@ kernfs_vget(mp, ino, vpp) return (EOPNOTSUPP); } -/*ARGSUSED*/ -int -kernfs_fhtovp(mp, fhp, vpp) - struct mount *mp; - struct fid *fhp; - struct vnode **vpp; -{ - - return (EOPNOTSUPP); -} - -/*ARGSUSED*/ -int -kernfs_checkexp(mp, mb, what, anon) - struct mount *mp; - struct mbuf *mb; - int *what; - struct ucred **anon; -{ - - return (EOPNOTSUPP); -} - -/*ARGSUSED*/ -int -kernfs_vptofh(vp, fhp) - struct vnode *vp; - struct fid *fhp; -{ - - return (EOPNOTSUPP); -} - SYSCTL_SETUP(sysctl_vfs_kernfs_setup, "sysctl vfs.kern subtree setup") { @@ -347,14 +310,12 @@ struct vfsops kernfs_vfsops = { kernfs_statvfs, kernfs_sync, kernfs_vget, - kernfs_fhtovp, - kernfs_vptofh, + NULL, /* vfs_fhtovp */ + NULL, /* vfs_vptofh */ kernfs_init, kernfs_reinit, kernfs_done, - NULL, NULL, /* vfs_mountroot */ - kernfs_checkexp, (int (*)(struct mount *, struct vnode *, struct timespec *)) eopnotsupp, vfs_stdextattrctl, kernfs_vnodeopv_descs,