summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/kernfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-16 11:16:13 +0000
committerbde <bde@FreeBSD.org>1995-11-16 11:16:13 +0000
commit83c92cd3094b93dfc07bf9c48614a3cb212fc0f1 (patch)
tree846c83095f2b9324d705c6c03b0e34b135e3d166 /sys/miscfs/kernfs
parentc0aa19d261a6b998c405b8780b52824984e56280 (diff)
downloadFreeBSD-src-83c92cd3094b93dfc07bf9c48614a3cb212fc0f1.zip
FreeBSD-src-83c92cd3094b93dfc07bf9c48614a3cb212fc0f1.tar.gz
Fixed the type of kernfs_sync(). Trailing args were missing.
Fixed the type of kernfs_fhtovp(). The args had little resemblance to the correct ones. Added prototypes.
Diffstat (limited to 'sys/miscfs/kernfs')
-rw-r--r--sys/miscfs/kernfs/kernfs_vfsops.c35
1 files changed, 30 insertions, 5 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vfsops.c b/sys/miscfs/kernfs/kernfs_vfsops.c
index e6f97c7..95c8a5c 100644
--- a/sys/miscfs/kernfs/kernfs_vfsops.c
+++ b/sys/miscfs/kernfs/kernfs_vfsops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)kernfs_vfsops.c 8.4 (Berkeley) 1/21/94
- * $Id: kernfs_vfsops.c,v 1.8 1995/03/16 20:23:38 wollman Exp $
+ * $Id: kernfs_vfsops.c,v 1.9 1995/05/25 01:35:15 davidg Exp $
*/
/*
@@ -57,7 +57,26 @@
struct vnode *rrootvp;
-int kernfs_statfs __P((struct mount *, struct statfs *, struct proc *));
+extern int cdevvp __P((dev_t dev, struct vnode **vpp));
+extern int kernfs_init __P((void));
+extern int kernfs_mount __P((struct mount *mp, char *path, caddr_t data,
+ struct nameidata *ndp, struct proc *p));
+extern int kernfs_start __P((struct mount *mp, int flags, struct proc *p));
+extern int kernfs_unmount __P((struct mount *mp, int mntflags,
+ struct proc *p));
+extern int kernfs_root __P((struct mount *mp, struct vnode **vpp));
+extern int kernfs_quotactl __P((struct mount *mp, int cmd, uid_t uid,
+ caddr_t arg, struct proc *p));
+extern int kernfs_statfs __P((struct mount *mp, struct statfs *sbp,
+ struct proc *p));
+extern int kernfs_sync __P((struct mount *mp, int waitfor,
+ struct ucred *cred, struct proc *p));
+extern int kernfs_vget __P((struct mount *mp, ino_t ino,
+ struct vnode **vpp));
+extern int kernfs_fhtovp __P((struct mount *mp, struct fid *fhp,
+ struct mbuf *nam, struct vnode **vpp,
+ int *exflagsp, struct ucred **credanonp));
+extern int kernfs_vptofh __P((struct vnode *vp, struct fid *fhp));
/*
* Create a vnode for a character device.
@@ -292,10 +311,13 @@ kernfs_statfs(mp, sbp, p)
}
int
-kernfs_sync(mp, waitfor)
+kernfs_sync(mp, waitfor, cred, p)
struct mount *mp;
int waitfor;
+ struct ucred *cred;
+ struct proc *p;
{
+
return (0);
}
@@ -315,12 +337,15 @@ kernfs_vget(mp, ino, vpp)
int
-kernfs_fhtovp(mp, fhp, setgen, vpp)
+kernfs_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp)
struct mount *mp;
struct fid *fhp;
- int setgen;
+ struct mbuf *nam;
struct vnode **vpp;
+ int *exflagsp;
+ struct ucred **credanonp;
{
+
return (EOPNOTSUPP);
}
OpenPOWER on IntegriCloud