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/coda/coda_venus.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/coda/coda_venus.c')
-rw-r--r-- | sys/coda/coda_venus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/coda/coda_venus.c b/sys/coda/coda_venus.c index 25dceeb..4f81ca1 100644 --- a/sys/coda/coda_venus.c +++ b/sys/coda/coda_venus.c @@ -27,7 +27,7 @@ * Mellon the rights to redistribute these changes without encumbrance. * * @(#) src/sys/cfs/coda_venus.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ - * $Id: coda_venus.c,v 1.3 1998/09/11 18:50:17 rvb Exp $ + * $Id: coda_venus.c,v 1.4 1998/09/13 13:57:59 rvb Exp $ * */ @@ -112,6 +112,7 @@ if (from & FWRITE) to |= C_O_WRITE; \ if (from & O_TRUNC) to |= C_O_TRUNC; \ if (from & O_EXCL) to |= C_O_EXCL; \ + if (from & O_CREAT) to |= C_O_CREAT; \ } while (0) #define CNV_VV2V_ATTR(top, fromp) \ |