aboutsummaryrefslogtreecommitdiff
path: root/sys/coda/coda_subr.c
diff options
context:
space:
mode:
authorRobert V. Baron <rvb@FreeBSD.org>1998-10-28 19:33:50 +0000
committerRobert V. Baron <rvb@FreeBSD.org>1998-10-28 19:33:50 +0000
commite8e04c2b37676a2e4aad5f4ee6b5e365c2454dbb (patch)
treebbd8ad11ec93e8760b67b3035ed72d35031d62c9 /sys/coda/coda_subr.c
parent8879e57b3e44a05efdcd71a7ae3183cb248300b7 (diff)
downloadsrc-e8e04c2b37676a2e4aad5f4ee6b5e365c2454dbb.tar.gz
src-e8e04c2b37676a2e4aad5f4ee6b5e365c2454dbb.zip
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.
Notes
Notes: svn path=/head/; revision=40706
Diffstat (limited to 'sys/coda/coda_subr.c')
-rw-r--r--sys/coda/coda_subr.c23
1 files changed, 6 insertions, 17 deletions
diff --git a/sys/coda/coda_subr.c b/sys/coda/coda_subr.c
index d24b5d602e2e..0b0b1447a3da 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.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;