WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Remove bogus call to get_domain_by_id() i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove bogus call to get_domain_by_id() in do_domctl().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Oct 2009 09:15:09 -0700
Delivery-date: Thu, 15 Oct 2009 09:15:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove bogus call to get_domain_by_id() in do_domctl()., Xen patchbot-unstable <=