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

[Xen-changelog] [xen-unstable] acm: Fix bogus domain_rcu_lock() invocations to rcu_unlock_domain().



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.