diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-09-18 05:33:21 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-09-18 05:33:21 +0000 |
| commit | 1c5a58eb0bf50dcb72633cbd25e4a82046247e77 (patch) | |
| tree | 5f7330ff7cb256b51e199a732c05014048ff4c84 /sys/miscfs | |
| parent | 955e4be62482026880bbbbb45cfe93b1485afcfe (diff) | |
Notes
Diffstat (limited to 'sys/miscfs')
| -rw-r--r-- | sys/miscfs/union/union_subr.c | 4 | ||||
| -rw-r--r-- | sys/miscfs/union/union_vnops.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c index cbbd17111bbc..65149d3c5888 100644 --- a/sys/miscfs/union/union_subr.c +++ b/sys/miscfs/union/union_subr.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_subr.c 8.4 (Berkeley) 2/17/94 - * $Id: union_subr.c,v 1.5 1994/10/10 07:55:46 phk Exp $ + * $Id: union_subr.c,v 1.7 1995/08/17 11:53:50 bde Exp $ */ #include <sys/param.h> @@ -716,7 +716,7 @@ union_vn_close(vp, fmode, cred, p) { if (fmode & FWRITE) --vp->v_writecount; - return (VOP_CLOSE(vp, fmode)); + return (VOP_CLOSE(vp, fmode, cred, p)); } void diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c index df1935b1651e..2d082db7642f 100644 --- a/sys/miscfs/union/union_vnops.c +++ b/sys/miscfs/union/union_vnops.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_vnops.c 8.6 (Berkeley) 2/17/94 - * $Id: union_vnops.c,v 1.7 1994/10/10 07:55:48 phk Exp $ + * $Id: union_vnops.c,v 1.8 1994/11/04 14:41:46 davidg Exp $ */ #include <sys/param.h> @@ -476,7 +476,7 @@ union_open(ap) error = union_copyfile(p, cred, tvp, un->un_uppervp); VOP_UNLOCK(tvp); - (void) VOP_CLOSE(tvp, FREAD); + (void) VOP_CLOSE(tvp, FREAD, cred, p); } else { VOP_UNLOCK(tvp); } @@ -503,7 +503,7 @@ union_open(ap) * Ignoring error returns is not righ, either. */ for (i = 0; i < un->un_openl; i++) { - (void) VOP_CLOSE(tvp, FREAD); + (void) VOP_CLOSE(tvp, FREAD, cred, p); (void) VOP_OPEN(un->un_uppervp, FREAD, cred, p); } un->un_openl = 0; |
