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-3.0.5-testing] Don't bypass the spin_unlock at the

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.0.5-testing] Don't bypass the spin_unlock at the end of do_domctl().
From: "Xen patchbot-3.0.5-testing" <patchbot-3.0.5-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Apr 2007 08:40:28 -0700
Delivery-date: Wed, 25 Apr 2007 08:40:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1177404612 -3600
# Node ID 1061a81b736057a822eb66eebe789e3616c6904e
# Parent  7493bb48d89f6b01c5281d360523a713323850ac
Don't bypass the spin_unlock at the end of do_domctl().
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 xen/common/domctl.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 7493bb48d89f -r 1061a81b7360 xen/common/domctl.c
--- a/xen/common/domctl.c       Tue Apr 24 09:48:08 2007 +0100
+++ b/xen/common/domctl.c       Tue Apr 24 09:50:12 2007 +0100
@@ -300,9 +300,10 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
         static domid_t rover = 0;
         unsigned int domcr_flags;
 
+        ret = -EINVAL;
         if ( supervisor_mode_kernel ||
              (op->u.createdomain.flags & ~XEN_DOMCTL_CDF_hvm_guest) )
-            return -EINVAL;
+            break;
 
         dom = op->domain;
         if ( (dom > 0) && (dom < DOMID_FIRST_RESERVED) )

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.0.5-testing] Don't bypass the spin_unlock at the end of do_domctl()., Xen patchbot-3.0.5-testing <=