Missing put_page_and_type() in dom0_op hypercall.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 25 Jan 2006 10:12:34 +0000 (11:12 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 25 Jan 2006 10:12:34 +0000 (11:12 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/dom0_ops.c

index 848d7f000eee0d5e706f9307c8e64da598f66067..789d01899a546dc49eae8d71062aba8256e65eda 100644 (file)
@@ -431,6 +431,8 @@ long arch_do_dom0_op(dom0_op_t *op, dom0_op_t *u_dom0_op)
         hypercall_page_initialise(hypercall_page);
         unmap_domain_page(hypercall_page);
 
+        put_page_and_type(pfn_to_page(mfn));
+
         put_domain(d);
     }
     break;