From: Keir Fraser Date: Thu, 4 Oct 2007 08:37:33 +0000 (+0100) Subject: [hotplug scripts] Unlock the 'block' lock before bailing. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14921 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b470f96ea7c88a68a350c206fcc61685ba23d242;p=xen.git [hotplug scripts] Unlock the 'block' lock before bailing. Signed-off-by: Stefan Berger --- 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