ia64/xen-unstable

changeset 16060:d24787ece0e0

[hotplug scripts] Unlock the 'block' lock before bailing.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir@xensource.com>
date Thu Oct 04 09:37:33 2007 +0100 (2007-10-04)
parents c632def5f69b
children 1c298e2fbc92
files tools/examples/block
line diff
     1.1 --- a/tools/examples/block	Thu Oct 04 09:36:18 2007 +0100
     1.2 +++ b/tools/examples/block	Thu Oct 04 09:37:33 2007 +0100
     1.3 @@ -322,6 +322,7 @@ mount it read-write in a guest domain."
     1.4  
     1.5          if [ "$loopdev" = '' ]
     1.6          then
     1.7 +          release_lock "block"
     1.8            fatal 'Failed to find an unused loop device'
     1.9          fi
    1.10