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

[Xen-changelog] [xen-unstable] [hotplug scripts] Unlock the 'block' lock before bailing.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1191487053 -3600
# Node ID d24787ece0e0779bc4914fa486a56d129dd66d42
# Parent  c632def5f69b350b967c5f03250d25919c6a15ea
[hotplug scripts] Unlock the 'block' lock before bailing.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/examples/block |    1 +
 1 files changed, 1 insertion(+)

diff -r c632def5f69b -r d24787ece0e0 tools/examples/block
--- a/tools/examples/block      Thu Oct 04 09:36:18 2007 +0100
+++ b/tools/examples/block      Thu Oct 04 09:37:33 2007 +0100
@@ -322,6 +322,7 @@ mount it read-write in a guest domain."
 
         if [ "$loopdev" = '' ]
         then
+          release_lock "block"
           fatal 'Failed to find an unused loop device'
         fi
 

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