diff options
author | Keir Fraser <keir@xensource.com> | 2007-10-04 09:37:33 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-10-04 09:37:33 +0100 |
commit | b470f96ea7c88a68a350c206fcc61685ba23d242 (patch) | |
tree | 0490b9400d19b9154fa1187a61bcf7220677af9b /tools | |
parent | 84daf5fe4f55e78b2bbc44ea81998ae749b02a0b (diff) | |
download | xen-b470f96ea7c88a68a350c206fcc61685ba23d242.tar.gz xen-b470f96ea7c88a68a350c206fcc61685ba23d242.tar.bz2 xen-b470f96ea7c88a68a350c206fcc61685ba23d242.zip |
[hotplug scripts] Unlock the 'block' lock before bailing.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/examples/block | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/examples/block b/tools/examples/block index 1cf6fb8fc8..411e6813fe 100644 --- a/tools/examples/block +++ b/tools/examples/block @@ -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 |