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

[Xen-changelog] [xen-unstable] Fix an obviously inverted check in offline_page()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1252510345 -3600
# Node ID 4226e02bdf7105d6e71f0608174ef07b7a94d738
# Parent  473487173fdaf6c952e295554a299a3b167d9630
Fix an obviously inverted check in offline_page()

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/common/page_alloc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 473487173fda -r 4226e02bdf71 xen/common/page_alloc.c
--- a/xen/common/page_alloc.c   Wed Sep 09 15:34:37 2009 +0100
+++ b/xen/common/page_alloc.c   Wed Sep 09 16:32:25 2009 +0100
@@ -610,7 +610,7 @@ int offline_page(unsigned long mfn, int 
     int ret = 0;
     struct page_info *pg;
 
-    if ( mfn_valid(mfn) )
+    if ( !mfn_valid(mfn) )
     {
         dprintk(XENLOG_WARNING,
                 "try to offline page out of range %lx\n", mfn);

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