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

[Xen-changelog] [xen-3.4-testing] paging_domctl: Add missing breaks in switch stmt.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266408983 0
# Node ID 06911a6d4d3dc3f3b42ec57dcebb715ca15bbb6c
# Parent  cd97053d4a86609873940610d32ff90fe9d1bbaa
paging_domctl: Add missing breaks in switch stmt.

From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   20954:b4041e7bbe1b
xen-unstable date:        Wed Feb 17 12:11:13 2010 +0000
---
 xen/arch/x86/mm/paging.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r cd97053d4a86 -r 06911a6d4d3d xen/arch/x86/mm/paging.c
--- a/xen/arch/x86/mm/paging.c  Wed Feb 17 12:16:03 2010 +0000
+++ b/xen/arch/x86/mm/paging.c  Wed Feb 17 12:16:23 2010 +0000
@@ -716,11 +716,13 @@ int paging_domctl(struct domain *d, xen_
                 hap_logdirty_init(d);
             return paging_log_dirty_enable(d);
         }
+        break;
 
     case XEN_DOMCTL_SHADOW_OP_OFF:
         if ( paging_mode_log_dirty(d) )
             if ( (rc = paging_log_dirty_disable(d)) != 0 )
                 return rc;
+        break;
 
     case XEN_DOMCTL_SHADOW_OP_CLEAN:
     case XEN_DOMCTL_SHADOW_OP_PEEK:

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