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

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



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1329991175 0
# Node ID 66cc5b67e7492afd3c59717e5d21d58dedfe5b34
# Parent  9bf3ec036bef2b67338bf5685423e26de69bd031
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>
---


diff -r 9bf3ec036bef -r 66cc5b67e749 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Thu Feb 23 09:58:47 2012 +0000
+++ b/xen/common/grant_table.c  Thu Feb 23 09:59:35 2012 +0000
@@ -2321,6 +2321,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;
 

_______________________________________________
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®.