diff options
Diffstat (limited to 'sys/coda/coda_subr.c')
-rw-r--r-- | sys/coda/coda_subr.c | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/sys/coda/coda_subr.c b/sys/coda/coda_subr.c index 40d2d0b0b1a4..d24b5d602e2e 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.8 1998/10/28 19:33:50 rvb Exp $ + * $Id: coda_subr.c,v 1.6 1998/09/25 17:38:31 rvb Exp $ * */ @@ -46,17 +46,6 @@ /* * HISTORY * $Log: coda_subr.c,v $ - * Revision 1.8 1998/10/28 19:33:50 rvb - * Venus must be passed O_CREAT flag on VOP_OPEN iff this is - * a creat so that we can will allow a mode 444 file to be - * written into. Sync with the latest coda.h and deal with - * collateral damage. - * - * Revision 1.7 1998/09/29 20:19:45 rvb - * Fixes for lkm: - * 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL - * 2. don't pass -DCODA to lkm build - * * Revision 1.6 1998/09/25 17:38:31 rvb * Put "stray" printouts under DIAGNOSTIC. Make everything build * with DEBUG on. Add support for lkm. (The macro's don't work @@ -229,7 +218,11 @@ * 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address */ +#ifdef VFS_LKM +#define NVCODA 4 +#else #include <vcoda.h> +#endif #include <sys/param.h> #include <sys/systm.h> @@ -632,6 +625,22 @@ int handleDownCall(opcode, out) return(0); } + case CODA_ZAPVNODE : { + coda_clstat.ncalls++; + coda_clstat.reqs[CODA_ZAPVNODE]++; + + myprintf(("CODA_ZAPVNODE: Called, but uniplemented\n")); + /* + * Not that below we must really translate the returned coda_cred to + * a netbsd cred. This is a bit muddled at present and the cfsnc_zapnode + * is further unimplemented, so punt! + * I suppose we could use just the uid. + */ + /* coda_nc_zapvnode(&out->coda_zapvnode.VFid, &out->coda_zapvnode.cred, + IS_DOWNCALL); */ + return(0); + } + case CODA_PURGEFID : { struct cnode *cp; |