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

[Xen-changelog] [xen-4.0-testing] xen: add missing unlock from gnttab_get_version



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1329993693 0
# Node ID bf902d6661e36a7bd779d7e2501fa54cd698bfd4
# Parent  2fc9ae7ee752f884ce28084ce83c214e3606b9b7
xen: add missing unlock from gnttab_get_version

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Reported-by: Francisco Rocha <f.e.liberal-rocha@xxxxxxxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   24871:66cc5b67e749
xen-unstable date:        Thu Feb 23 09:59:35 2012 +0000
---


diff -r 2fc9ae7ee752 -r bf902d6661e3 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Thu Feb 23 10:40:43 2012 +0000
+++ b/xen/common/grant_table.c  Thu Feb 23 10:41:33 2012 +0000
@@ -2213,6 +2213,8 @@
     op.version = d->grant_table->gt_version;
     spin_unlock(&d->grant_table->lock);
 
+    rcu_unlock_domain(d);
+
     if ( copy_to_guest(uop, &op, 1) )
         return -EFAULT;
     else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.