diff options
author | bde <bde@FreeBSD.org> | 1995-08-17 11:53:51 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-08-17 11:53:51 +0000 |
commit | 36cc023d9ca34f0218a032bc1cd12274f26458a2 (patch) | |
tree | 13b18347601be8df22a169212dd8e4e199348ea2 /sys/fs/unionfs/union_vnops.c | |
parent | 1feff3c3bcaf280578db12f153211ddf11cc31fc (diff) | |
download | FreeBSD-src-36cc023d9ca34f0218a032bc1cd12274f26458a2.zip FreeBSD-src-36cc023d9ca34f0218a032bc1cd12274f26458a2.tar.gz |
The `cred' and `proc' args were missing for some VOP_OPEN() and VOP_CLOSE()
calls.
Found by: gcc -Wstrict-prototypes after I supplied some of the 5000+
missing prototypes. Now I have 9000+ lines of warnings and errors
about bogus conversions of function pointers.
Diffstat (limited to 'sys/fs/unionfs/union_vnops.c')
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 315fc62..855620c 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_vnops.c 8.6 (Berkeley) 2/17/94 - * $Id: union_vnops.c,v 1.9 1995/06/28 07:06:46 davidg Exp $ + * $Id: union_vnops.c,v 1.10 1995/08/01 18:50:53 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; |