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

[Xen-changelog] [xen-unstable] [XEN] Fix silly transposition typo in previous changeset.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 1a3b883614b7eac6277d44d6deb1e494341b0f83
# Parent  86d26e6ec89b3aba5512d981838caea043b157ab
[XEN] Fix silly transposition typo in previous changeset.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/sched_credit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 86d26e6ec89b -r 1a3b883614b7 xen/common/sched_credit.c
--- a/xen/common/sched_credit.c Fri Aug 25 18:39:10 2006 +0100
+++ b/xen/common/sched_credit.c Fri Aug 25 22:35:24 2006 +0100
@@ -619,14 +619,14 @@ csched_dom_cntl(
     struct csched_dom * const sdom = CSCHED_DOM(d);
     unsigned long flags;
 
-    if ( op->cmd == XEN_DOMCTL_SCHEDOP_putinfo )
+    if ( op->cmd == XEN_DOMCTL_SCHEDOP_getinfo )
     {
         op->u.credit.weight = sdom->weight;
         op->u.credit.cap = sdom->cap;
     }
     else
     {
-        ASSERT(op->cmd == XEN_DOMCTL_SCHEDOP_getinfo);
+        ASSERT(op->cmd == XEN_DOMCTL_SCHEDOP_putinfo);
 
         spin_lock_irqsave(&csched_priv.lock, flags);
 

_______________________________________________
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®.