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

[Xen-changelog] Fix the error recovery at the undo_out label in __gnttab_map_grant_ref to



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 2a0aded8fe601d8db480719e5479bb21bbc2c5bf
# Parent  a848ee1c982213f2eca241a77173a0cc313a74df
Fix the error recovery at the undo_out label in __gnttab_map_grant_ref to
not unlock the spinlock twice (which causes a BUG).

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r a848ee1c9822 -r 2a0aded8fe60 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Tue Jan  3 16:29:42 2006
+++ b/xen/common/grant_table.c  Mon Jan  9 11:17:55 2006
@@ -311,8 +311,6 @@
 
     if ( !act->pin )
         clear_bit(_GTF_reading, &sha->flags);
-
-    spin_unlock(&rd->grant_table->lock);
 
  unlock_out:
     spin_unlock(&rd->grant_table->lock);

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