Make this compile again after the Lite2 merge.
VOP_UNLOCK was being called with the wrong mumber of arguments.
This commit is contained in:
parent
e9039c38dc
commit
59942ba155
@ -420,7 +420,7 @@ ibcs2_getdents(p, uap, retval)
|
||||
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 @@ ibcs2_read(p, uap, retval)
|
||||
eof:
|
||||
*retval = SCARG(uap, nbytes) - resid;
|
||||
out:
|
||||
VOP_UNLOCK(vp, p);
|
||||
VOP_UNLOCK(vp, 0, p);
|
||||
free(buf, M_TEMP);
|
||||
return (error);
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user