[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Remove bogus call to get_domain_by_id() in do_domctl().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1255621761 -3600
# Node ID 2eba302831c4534ac40283491f887263c7197b4a
# Parent  de04fe4e472cdad6ee9357600733d8daac10db60
Remove bogus call to get_domain_by_id() in do_domctl().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
---
 xen/common/domctl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r de04fe4e472c -r 2eba302831c4 xen/common/domctl.c
--- a/xen/common/domctl.c       Thu Oct 15 09:36:40 2009 +0100
+++ b/xen/common/domctl.c       Thu Oct 15 16:49:21 2009 +0100
@@ -234,7 +234,7 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
     case XEN_DOMCTL_unbind_pt_irq:
     case XEN_DOMCTL_assign_device:
     case XEN_DOMCTL_deassign_device: {
-        struct domain *d = get_domain_by_id(op->domain);
+        struct domain *d;
         bool_t is_priv = IS_PRIV(current->domain);
         if ( !is_priv && ((d = rcu_lock_domain_by_id(op->domain)) != NULL) )
         {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.