WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] bug fix in blktap script
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] bug fix in blktap script, SUZUKI Kazuhiro <=