| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: coda_vfsops.h,v 1.19 2014/12/13 15:59:30 hannken Exp $ */ | | 1 | /* $NetBSD: coda_vfsops.h,v 1.20 2017/06/08 22:29:59 chs Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * | | 4 | * |
5 | * Coda: an Experimental Distributed File System | | 5 | * Coda: an Experimental Distributed File System |
6 | * Release 3.1 | | 6 | * Release 3.1 |
7 | * | | 7 | * |
8 | * Copyright (c) 1987-1998 Carnegie Mellon University | | 8 | * Copyright (c) 1987-1998 Carnegie Mellon University |
9 | * All Rights Reserved | | 9 | * All Rights Reserved |
10 | * | | 10 | * |
11 | * Permission to use, copy, modify and distribute this software and its | | 11 | * Permission to use, copy, modify and distribute this software and its |
12 | * documentation is hereby granted, provided that both the copyright | | 12 | * documentation is hereby granted, provided that both the copyright |
13 | * notice and this permission notice appear in all copies of the | | 13 | * notice and this permission notice appear in all copies of the |
14 | * software, derivative works or modified versions, and any portions | | 14 | * software, derivative works or modified versions, and any portions |
| @@ -34,26 +34,27 @@ | | | @@ -34,26 +34,27 @@ |
34 | /* | | 34 | /* |
35 | * cfid structure: | | 35 | * cfid structure: |
36 | * This overlays the fid structure (see vfs.h) | | 36 | * This overlays the fid structure (see vfs.h) |
37 | * Only used below and will probably go away. | | 37 | * Only used below and will probably go away. |
38 | */ | | 38 | */ |
39 | | | 39 | |
40 | struct cfid { | | 40 | struct cfid { |
41 | u_short cfid_len; | | 41 | u_short cfid_len; |
42 | u_short padding; | | 42 | u_short padding; |
43 | CodaFid cfid_fid; | | 43 | CodaFid cfid_fid; |
44 | }; | | 44 | }; |
45 | | | 45 | |
46 | struct mount; | | 46 | struct mount; |
| | | 47 | struct mbuf; |
47 | | | 48 | |
48 | int coda_vfsopstats_init(void); | | 49 | int coda_vfsopstats_init(void); |
49 | int coda_mount(struct mount *, const char *, void *, size_t *); | | 50 | int coda_mount(struct mount *, const char *, void *, size_t *); |
50 | int coda_start(struct mount *, int); | | 51 | int coda_start(struct mount *, int); |
51 | int coda_unmount(struct mount *, int); | | 52 | int coda_unmount(struct mount *, int); |
52 | int coda_root(struct mount *, struct vnode **); | | 53 | int coda_root(struct mount *, struct vnode **); |
53 | int coda_nb_statvfs(struct mount *, struct statvfs *); | | 54 | int coda_nb_statvfs(struct mount *, struct statvfs *); |
54 | int coda_sync(struct mount *, int, kauth_cred_t); | | 55 | int coda_sync(struct mount *, int, kauth_cred_t); |
55 | int coda_vget(struct mount *, ino_t, struct vnode **); | | 56 | int coda_vget(struct mount *, ino_t, struct vnode **); |
56 | int coda_loadvnode(struct mount *, struct vnode *, const void *, size_t, | | 57 | int coda_loadvnode(struct mount *, struct vnode *, const void *, size_t, |
57 | const void **); | | 58 | const void **); |
58 | int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **, | | 59 | int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **, |
59 | int *, kauth_cred_t *); | | 60 | int *, kauth_cred_t *); |