Change the domain_rcu_lock calls
PATCH 1/1 Change the domain_rcu_lock calls
This fixes recent changes from put_domain() to domain_rcu_lock() (?) to the correct rcu_unlock_domain().
xen-unstable.hg/xen/include/acm/acm_hooks.h +2 -2
@@ -247,12 +247,12 @@ static inline int acm_pre_domctl(structif (*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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Sorry for not having catched this before submiting. I did not notice
compilation of ACM code is conditional and did not enabled it to test the patch. Thanks for the fix
Renato
Quoted 17 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Berger
Sent: Friday, March 02, 2007 7:10 AM
To: [email protected]
Cc: [email protected]
Subject: [Xen-devel] [PATCH] [XEN] [ACM] Change thedomain_rcu_lockcallsThis fixes recent changes from
put_domain()todomain_rcu_lock()(?) to the correctrcu_unlock_domain().Signed-off-by Stefan Berger <[email protected]>