]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/coda/coda_vfsops.h
This commit was generated by cvs2svn to compensate for changes in r157184,
[FreeBSD/FreeBSD.git] / sys / coda / coda_vfsops.h
1 /*-
2  * 
3  *             Coda: an Experimental Distributed File System
4  *                              Release 3.1
5  * 
6  *           Copyright (c) 1987-1998 Carnegie Mellon University
7  *                          All Rights Reserved
8  * 
9  * Permission  to  use, copy, modify and distribute this software and its
10  * documentation is hereby granted,  provided  that  both  the  copyright
11  * notice  and  this  permission  notice  appear  in  all  copies  of the
12  * software, derivative works or  modified  versions,  and  any  portions
13  * thereof, and that both notices appear in supporting documentation, and
14  * that credit is given to Carnegie Mellon University  in  all  documents
15  * and publicity pertaining to direct or indirect use of this code or its
16  * derivatives.
17  * 
18  * CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS  KNOWN  TO  HAVE  BUGS,
19  * SOME  OF  WHICH MAY HAVE SERIOUS CONSEQUENCES.  CARNEGIE MELLON ALLOWS
20  * FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.   CARNEGIE  MELLON
21  * DISCLAIMS  ANY  LIABILITY  OF  ANY  KIND  FOR  ANY  DAMAGES WHATSOEVER
22  * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE  OR  OF
23  * ANY DERIVATIVE WORK.
24  * 
25  * Carnegie  Mellon  encourages  users  of  this  software  to return any
26  * improvements or extensions that  they  make,  and  to  grant  Carnegie
27  * Mellon the rights to redistribute these changes without encumbrance.
28  * 
29  *      @(#) src/sys/cfs/coda_vfsops.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ 
30  * $FreeBSD$
31  * 
32  */
33
34 /*
35  * cfid structure:
36  * This overlays the fid structure (see vfs.h)
37  * Only used below and will probably go away.
38  */
39
40 struct cfid {
41     u_short     cfid_len;
42     u_short     padding;
43     CodaFid     cfid_fid;
44 };
45
46 struct mbuf;
47 struct mount;
48
49 int coda_vfsopstats_init(void);
50 int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **,
51                       int *, struct ucred **);
52
53 vfs_mount_t     coda_mount;
54 vfs_unmount_t   coda_unmount;
55 vfs_root_t      coda_root;
56 vfs_quotactl_t  coda_quotactl;
57 vfs_statfs_t    coda_nb_statfs;
58 vfs_sync_t      coda_sync;
59 vfs_vget_t      coda_vget;
60 vfs_vptofh_t    coda_vptofh;
61 vfs_init_t      coda_init;
62
63 int getNewVnode(struct vnode **vpp);