aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-16 11:24:06 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-16 11:24:06 +0000
commit10639ce2c0e6caae51c1cac8956aa6473cbafd9d (patch)
treeecdba06022217a2c40aad1e9f1a8ca313b3051c3 /sys/fs
parent9f3a4cd0835888527d72912b61b24284c4527735 (diff)
downloadsrc-10639ce2c0e6caae51c1cac8956aa6473cbafd9d.tar.gz
src-10639ce2c0e6caae51c1cac8956aa6473cbafd9d.zip
Fixed the type of portal_sync(). Trailing args were missing.
Fixed the type of portal_fhtovp(). The args had little resemblance to the correct ones. Added prototypes.
Notes
Notes: svn path=/head/; revision=12335
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/portalfs/portal_vfsops.c31
1 files changed, 28 insertions, 3 deletions
diff --git a/sys/fs/portalfs/portal_vfsops.c b/sys/fs/portalfs/portal_vfsops.c
index 52c7bcf6094e..3be61d5fd6cd 100644
--- a/sys/fs/portalfs/portal_vfsops.c
+++ b/sys/fs/portalfs/portal_vfsops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vfsops.c 8.6 (Berkeley) 1/21/94
*
- * $Id: portal_vfsops.c,v 1.7 1995/03/16 20:23:41 wollman Exp $
+ * $Id: portal_vfsops.c,v 1.8 1995/05/30 08:07:05 rgrimes Exp $
*/
/*
@@ -62,6 +62,26 @@
#include <sys/un.h>
#include <miscfs/portal/portal.h>
+extern int portal_init __P((void));
+extern int portal_mount __P((struct mount *mp, char *path, caddr_t data,
+ struct nameidata *ndp, struct proc *p));
+extern int portal_start __P((struct mount *mp, int flags, struct proc *p));
+extern int portal_unmount __P((struct mount *mp, int mntflags,
+ struct proc *p));
+extern int portal_root __P((struct mount *mp, struct vnode **vpp));
+extern int portal_quotactl __P((struct mount *mp, int cmd, uid_t uid,
+ caddr_t arg, struct proc *p));
+extern int portal_statfs __P((struct mount *mp, struct statfs *sbp,
+ struct proc *p));
+extern int portal_sync __P((struct mount *mp, int waitfor,
+ struct ucred *cred, struct proc *p));
+extern int portal_vget __P((struct mount *mp, ino_t ino,
+ struct vnode **vpp));
+extern int portal_fhtovp __P((struct mount *mp, struct fid *fhp,
+ struct mbuf *nam, struct vnode **vpp,
+ int *exflagsp, struct ucred **credanonp));
+extern int portal_vptofh __P((struct vnode *vp, struct fid *fhp));
+
int
portal_init()
{
@@ -264,9 +284,11 @@ portal_statfs(mp, sbp, p)
}
int
-portal_sync(mp, waitfor)
+portal_sync(mp, waitfor, cred, p)
struct mount *mp;
int waitfor;
+ struct ucred *cred;
+ struct proc *p;
{
return (0);
@@ -283,10 +305,13 @@ portal_vget(mp, ino, vpp)
}
int
-portal_fhtovp(mp, fhp, vpp)
+portal_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp)
struct mount *mp;
struct fid *fhp;
+ struct mbuf *nam;
struct vnode **vpp;
+ int *exflagsp;
+ struct ucred **credanonp;
{
return (EOPNOTSUPP);