diff options
author | bde <bde@FreeBSD.org> | 1995-12-03 14:54:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-03 14:54:48 +0000 |
commit | 64a1fca498baa82452b7832f03fb52d55b65861e (patch) | |
tree | a9998e1f2bc07a055eec218c76160973d186c314 /sys/fs/umapfs/umap_vfsops.c | |
parent | 1a0a9cf4f5008de06188ddc5eefe1b6e156a792b (diff) | |
download | FreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.zip FreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.tar.gz |
Added prototypes.
Removed some unnecessary #includes.
Diffstat (limited to 'sys/fs/umapfs/umap_vfsops.c')
-rw-r--r-- | sys/fs/umapfs/umap_vfsops.c | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index 64f05bb..12f01df 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -35,7 +35,7 @@ * * @(#)umap_vfsops.c 8.3 (Berkeley) 1/21/94 * - * $Id: umap_vfsops.c,v 1.7 1995/03/16 20:23:43 wollman Exp $ + * $Id: umap_vfsops.c,v 1.8 1995/05/30 08:07:18 rgrimes Exp $ */ /* @@ -54,6 +54,27 @@ #include <sys/malloc.h> #include <miscfs/umapfs/umap.h> +extern int umapfs_init __P((void)); + +extern int umapfs_fhtovp __P((struct mount *mp, struct fid *fidp, + struct mbuf *nam, struct vnode **vpp, + int *exflagsp, struct ucred **credanonp)); +extern int umapfs_mount __P((struct mount *mp, char *path, caddr_t data, + struct nameidata *ndp, struct proc *p)); +extern int umapfs_quotactl __P((struct mount *mp, int cmd, uid_t uid, + caddr_t arg, struct proc *p)); +extern int umapfs_root __P((struct mount *mp, struct vnode **vpp)); +extern int umapfs_start __P((struct mount *mp, int flags, struct proc *p)); +extern int umapfs_statfs __P((struct mount *mp, struct statfs *sbp, + struct proc *p)); +extern int umapfs_sync __P((struct mount *mp, int waitfor, + struct ucred *cred, struct proc *p)); +extern int umapfs_unmount __P((struct mount *mp, int mntflags, + struct proc *p)); +extern int umapfs_vget __P((struct mount *mp, ino_t ino, + struct vnode **vpp)); +extern int umapfs_vptofh __P((struct vnode *vp, struct fid *fhp)); + /* * Mount umap layer */ @@ -393,8 +414,6 @@ umapfs_vptofh(vp, fhp) return (VFS_VPTOFH(UMAPVPTOLOWERVP(vp), fhp)); } -int umapfs_init __P((void)); - struct vfsops umap_vfsops = { umapfs_mount, umapfs_start, |