diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-11-14 06:15:38 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-11-14 06:15:38 +0000 |
commit | b654b6f72587ecd914178ccf1156e7e3beb9e793 (patch) | |
tree | dfcb07708b6f74c1c67223d577f3970df1ca78d6 /sys/arch | |
parent | 6e540f43e3373f984b7d0d9bb3fce8ac31a9f70d (diff) |
Fix a missing unlock.
From Stefan Kempf sn.kempf at t-online.de
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index df72910cfdb..20200883c5e 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -375,6 +375,7 @@ vm_readpage(struct vm_readpage_params *vrp) /* Find the phys page where this guest page exists in real memory */ if (!pmap_extract(vm->vm_map->pmap, vr_page, &host_pa)) { + rw_exit_read(&vmm_softc->vm_lock); return (EFAULT); } |