Make this compile again after the Lite2 merge.

VOP_UNLOCK was being called with the wrong mumber of arguments.
This commit is contained in:
Mike Pritchard 1997-02-10 16:32:52 +00:00
parent e9039c38dc
commit 59942ba155
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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,