diff options
| author | Robert V. Baron <rvb@FreeBSD.org> | 1998-09-25 17:38:32 +0000 |
|---|---|---|
| committer | Robert V. Baron <rvb@FreeBSD.org> | 1998-09-25 17:38:32 +0000 |
| commit | 6a6e8b21347f0bbd820cbcb586400bc1031d1be8 (patch) | |
| tree | 1c3777179ff3fe3b6c1a3fe99e6b5ee02e9b0aba /sys/coda/coda_subr.c | |
| parent | 10baba4b9569817144e580256d135e1821d352f1 (diff) | |
Notes
Diffstat (limited to 'sys/coda/coda_subr.c')
| -rw-r--r-- | sys/coda/coda_subr.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/coda/coda_subr.c b/sys/coda/coda_subr.c index 6e3d0e29c3b0..58620f7053ec 100644 --- a/sys/coda/coda_subr.c +++ b/sys/coda/coda_subr.c @@ -27,7 +27,7 @@ * Mellon the rights to redistribute these changes without encumbrance. * * @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ - * $Id: coda_subr.c,v 1.4 1998/09/11 18:50:17 rvb Exp $ + * $Id: coda_subr.c,v 1.5 1998/09/13 13:57:59 rvb Exp $ * */ @@ -46,6 +46,9 @@ /* * HISTORY * $Log: coda_subr.c,v $ + * Revision 1.5 1998/09/13 13:57:59 rvb + * Finish conversion of cfs -> coda + * * Revision 1.4 1998/09/11 18:50:17 rvb * All the references to cfs, in symbols, structs, and strings * have been changed to coda. (Same for CFS.) @@ -210,7 +213,11 @@ * 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address */ +#ifdef ACTUALLY_LKM_NOT_KERNEL +#define NVCODA 4 +#else #include <vcoda.h> +#endif #include <sys/param.h> #include <sys/systm.h> @@ -460,6 +467,7 @@ coda_unmounting(whoIam) } #ifdef DEBUG +void coda_checkunmounting(mp) struct mount *mp; { @@ -481,7 +489,7 @@ loop: } } -int +void coda_cacheprint(whoIam) struct mount *whoIam; { @@ -490,7 +498,7 @@ coda_cacheprint(whoIam) int count = 0; printf("coda_cacheprint: coda_ctlvp %p, cp %p", coda_ctlvp, VTOC(coda_ctlvp)); - coda_nc_name(coda_ctlvp); + coda_nc_name(VTOC(coda_ctlvp)); printf("\n"); for (hash = 0; hash < CODA_CACHESIZE; hash++) { |
