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] acm: Fix bogus domain_rcu_lock() invocati

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] acm: Fix bogus domain_rcu_lock() invocations to rcu_unlock_domain().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Mar 2007 11:30:12 -0800
Delivery-date: Wed, 07 Mar 2007 11:29:50 -0800
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 1172846545 0
# Node ID 8103284bcede4b134270525f20a3fad86190e673
# Parent  a69d98bf0c5570f9157a95155f25d62b0ff76608
acm: Fix bogus domain_rcu_lock() invocations to rcu_unlock_domain().
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 xen/include/acm/acm_hooks.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r a69d98bf0c55 -r 8103284bcede xen/include/acm/acm_hooks.h
--- a/xen/include/acm/acm_hooks.h       Fri Mar 02 13:46:39 2007 +0000
+++ b/xen/include/acm/acm_hooks.h       Fri Mar 02 14:42:25 2007 +0000
@@ -247,12 +247,12 @@ static inline int acm_pre_domctl(struct 
             if (*ssid == NULL) {
                 printk("%s: Warning. Destroying domain without ssid 
pointer.\n", 
                        __func__);
-                domain_rcu_lock(d);
+                rcu_unlock_domain(d);
                 return -EACCES;
             }
             d->ssid = NULL; /* make sure it's not used any more */
              /* no policy-specific hook */
-            domain_rcu_lock(d);
+            rcu_unlock_domain(d);
             ret = 0;
         }
         break;

_______________________________________________
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] acm: Fix bogus domain_rcu_lock() invocations to rcu_unlock_domain()., Xen patchbot-unstable <=