Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/union Adjust for cwdinfo changes. Pointed out by...
details: https://anonhg.NetBSD.org/src/rev/130be3910512
branches: trunk
changeset: 472552:130be3910512
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun May 02 00:18:31 1999 +0000
description:
Adjust for cwdinfo changes. Pointed out by Bernd Ernesti.
diffstat:
sys/miscfs/union/union_subr.c | 4 ++--
sys/miscfs/union/union_vfsops.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 735fcd495e15 -r 130be3910512 sys/miscfs/union/union_subr.c
--- a/sys/miscfs/union/union_subr.c Sat May 01 22:45:57 1999 +0000
+++ b/sys/miscfs/union/union_subr.c Sun May 02 00:18:31 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: union_subr.c,v 1.30 1999/03/24 05:53:59 sommerfe Exp $ */
+/* $NetBSD: union_subr.c,v 1.31 1999/05/02 00:18:31 thorpej Exp $ */
/*
* Copyright (c) 1994 Jan-Simon Pendry
@@ -879,7 +879,7 @@
struct vattr *vap = &vat;
int fmode = FFLAGS(O_WRONLY|O_CREAT|O_TRUNC|O_EXCL);
int error;
- int cmode = UN_FILEMODE & ~p->p_fd->fd_cmask;
+ int cmode = UN_FILEMODE & ~p->p_cwdi->cwdi_cmask;
struct componentname cn;
*vpp = NULLVP;
diff -r 735fcd495e15 -r 130be3910512 sys/miscfs/union/union_vfsops.c
--- a/sys/miscfs/union/union_vfsops.c Sat May 01 22:45:57 1999 +0000
+++ b/sys/miscfs/union/union_vfsops.c Sun May 02 00:18:31 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: union_vfsops.c,v 1.21 1999/02/26 23:44:46 wrstuden Exp $ */
+/* $NetBSD: union_vfsops.c,v 1.22 1999/05/02 00:18:31 thorpej Exp $ */
/*
* Copyright (c) 1994 The Regents of the University of California.
@@ -188,7 +188,7 @@
um->um_cred = p->p_ucred;
crhold(um->um_cred);
- um->um_cmode = UN_DIRMODE &~ p->p_fd->fd_cmask;
+ um->um_cmode = UN_DIRMODE &~ p->p_cwdi->cwdi_cmask;
/*
* Depending on what you think the MNT_LOCAL flag might mean,
Home |
Main Index |
Thread Index |
Old Index