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

[Xen-devel] [PATCH] bug fix in blktap script


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
  • Date: Thu, 20 Sep 2007 18:34:32 +0900 (JST)
  • Delivery-date: Thu, 20 Sep 2007 02:36:30 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi all,

I found a bug in blktap script. The domain with blktap cannot be
created due to this bug.
The following patch fixes it.

Thanks,
KAZ

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>

diff -r b2a02f7ed849 tools/examples/blktap
--- a/tools/examples/blktap     Mon Sep 17 13:38:25 2007 -0600
+++ b/tools/examples/blktap     Thu Sep 20 18:18:43 2007 +0900
@@ -73,7 +73,7 @@ if [ -L "$p" ]; then
 if [ -L "$p" ]; then
     file=$(readlink -f "$p") || ebusy "$p link does not exist."
 else
-    [ -f "$p" ] || { ebusy "$p file does not exist." }
+    [ -f "$p" ] || { ebusy "$p file does not exist."; }
     file="$p"
 fi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.