diff options
author | rvb <rvb@FreeBSD.org> | 1998-10-28 19:33:50 +0000 |
---|---|---|
committer | rvb <rvb@FreeBSD.org> | 1998-10-28 19:33:50 +0000 |
commit | f3f6c9f429adae171401c8bb886b2e72b7b79447 (patch) | |
tree | a26a4dcfa9c080d458867a19e578e60baa1db7c5 /sys/fs/coda/coda_subr.c | |
parent | 45c6ebc96d5f8b870255823e68e008985d394f31 (diff) | |
download | FreeBSD-src-f3f6c9f429adae171401c8bb886b2e72b7b79447.zip FreeBSD-src-f3f6c9f429adae171401c8bb886b2e72b7b79447.tar.gz |
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.
Diffstat (limited to 'sys/fs/coda/coda_subr.c')
-rw-r--r-- | sys/fs/coda/coda_subr.c | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/sys/fs/coda/coda_subr.c b/sys/fs/coda/coda_subr.c index d24b5d6..0b0b144 100644 --- a/sys/fs/coda/coda_subr.c +++ b/sys/fs/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.6 1998/09/25 17:38:31 rvb Exp $ + * $Id: coda_subr.c,v 1.7 1998/09/29 20:19:45 rvb Exp $ * */ @@ -46,6 +46,11 @@ /* * HISTORY * $Log: coda_subr.c,v $ + * 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 @@ -625,22 +630,6 @@ 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; |