Correct an error in r207410: Remove an unlock of a lock that is no longer

held.
This commit is contained in:
Alan Cox 2010-05-02 18:09:33 +00:00
parent b88b6c9d80
commit ac800a8490

View File

@ -1454,7 +1454,6 @@ vm_object_split(vm_map_entry_t entry)
* not be changed by this operation. * not be changed by this operation.
*/ */
if ((m->oflags & VPO_BUSY) || m->busy) { if ((m->oflags & VPO_BUSY) || m->busy) {
vm_page_unlock_queues();
VM_OBJECT_UNLOCK(new_object); VM_OBJECT_UNLOCK(new_object);
m->oflags |= VPO_WANTED; m->oflags |= VPO_WANTED;
msleep(m, VM_OBJECT_MTX(orig_object), PVM, "spltwt", 0); msleep(m, VM_OBJECT_MTX(orig_object), PVM, "spltwt", 0);