summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/fdesc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-16 10:58:35 +0000
committerbde <bde@FreeBSD.org>1995-11-16 10:58:35 +0000
commitc0aa19d261a6b998c405b8780b52824984e56280 (patch)
treea7ada81c839fb2cb3416fd385b0f64b09754b935 /sys/miscfs/fdesc
parent4e038e6093ffd5c99a4f32dfb09fce0a8f0e8ef0 (diff)
downloadFreeBSD-src-c0aa19d261a6b998c405b8780b52824984e56280.zip
FreeBSD-src-c0aa19d261a6b998c405b8780b52824984e56280.tar.gz
Fixed the type of fdesc_sync(). Trailing args were missing.
Fixed the type of fdesc_fhtovp(). The args had little resemblance to the correct ones. Added prototypes.
Diffstat (limited to 'sys/miscfs/fdesc')
-rw-r--r--sys/miscfs/fdesc/fdesc_vfsops.c33
1 files changed, 27 insertions, 6 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vfsops.c b/sys/miscfs/fdesc/fdesc_vfsops.c
index db40cb7..1efeb73 100644
--- a/sys/miscfs/fdesc/fdesc_vfsops.c
+++ b/sys/miscfs/fdesc/fdesc_vfsops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94
*
- * $Id: fdesc_vfsops.c,v 1.5 1995/09/02 20:17:57 mpp Exp $
+ * $Id: fdesc_vfsops.c,v 1.6 1995/11/07 13:39:18 phk Exp $
*/
/*
@@ -56,8 +56,24 @@
#include <sys/malloc.h>
#include <miscfs/fdesc/fdesc.h>
-static int fdesc_statfs __P((struct mount *, struct statfs *, struct proc *));
-
+static int fdesc_fhtovp __P((struct mount *mp, struct fid *fhp,
+ struct mbuf *nam, struct vnode **vpp,
+ int *exflagsp, struct ucred **credanonp));
+static int fdesc_mount __P((struct mount *mp, char *path, caddr_t data,
+ struct nameidata *ndp, struct proc *p));
+static int fdesc_quotactl __P((struct mount *mp, int cmd, uid_t uid,
+ caddr_t arg, struct proc *p));
+static int fdesc_start __P((struct mount *mp, int flags, struct proc *p));
+static int fdesc_unmount __P((struct mount *mp, int mntflags,
+ struct proc *p));
+static int fdesc_statfs __P((struct mount *mp, struct statfs *sbp,
+ struct proc *p));
+static int fdesc_sync __P((struct mount *mp, int waitfor,
+ struct ucred *cred, struct proc *p));
+static int fdesc_vget __P((struct mount *mp, ino_t ino,
+ struct vnode **vpp));
+static int fdesc_vptofh __P((struct vnode *vp, struct fid *fhp));
+
/*
* Mount the per-process file descriptors (/dev/fd)
*/
@@ -235,9 +251,11 @@ fdesc_statfs(mp, sbp, p)
}
static int
-fdesc_sync(mp, waitfor)
+fdesc_sync(mp, waitfor, cred, p)
struct mount *mp;
int waitfor;
+ struct ucred *cred;
+ struct proc *p;
{
return (0);
@@ -258,12 +276,15 @@ fdesc_vget(mp, ino, vpp)
}
static int
-fdesc_fhtovp(mp, fhp, setgen, vpp)
+fdesc_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