From 59942ba155d5f5b0dfd1d4f32f1d2ceb58f03d71 Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Mon, 10 Feb 1997 16:32:52 +0000 Subject: [PATCH] Make this compile again after the Lite2 merge. VOP_UNLOCK was being called with the wrong mumber of arguments. --- sys/i386/ibcs2/ibcs2_misc.c | 4 ++-- sys/i386/ibcs2/imgact_coff.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/i386/ibcs2/ibcs2_misc.c b/sys/i386/ibcs2/ibcs2_misc.c index 7b7c1729d1d..bf25c2192d7 100644 --- a/sys/i386/ibcs2/ibcs2_misc.c +++ b/sys/i386/ibcs2/ibcs2_misc.c @@ -420,7 +420,7 @@ again: eof: *retval = SCARG(uap, nbytes) - resid; out: - VOP_UNLOCK(vp, p); + VOP_UNLOCK(vp, 0, p); free(buf, M_TEMP); return (error); } @@ -535,7 +535,7 @@ again: eof: *retval = SCARG(uap, nbytes) - resid; out: - VOP_UNLOCK(vp, p); + VOP_UNLOCK(vp, 0, p); free(buf, M_TEMP); return (error); } diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c index bd1adc3f928..29b77538b1d 100644 --- a/sys/i386/ibcs2/imgact_coff.c +++ b/sys/i386/ibcs2/imgact_coff.c @@ -214,7 +214,7 @@ coff_load_file(struct proc *p, char *name) * Lose the lock on the vnode. It's no longer needed, and must not * exist for the pagefault paging to work below. */ - VOP_UNLOCK(vp, p); + VOP_UNLOCK(vp, 0, p); if (error = vm_mmap(kernel_map, (vm_offset_t *) &ptr,