From: SUZUKI Kazuhiro Subject: [PATCH] bug fix in blktap script Date: Thu, 20 Sep 2007 18:34:32 +0900 (JST) Message-ID: <20070920.183432.207647167.kaz@flab.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Sep_20_18_34_32_2007_738)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Thu_Sep_20_18_34_32_2007_738)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 ----Next_Part(Thu_Sep_20_18_34_32_2007_738)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="blktap.patch" 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 ----Next_Part(Thu_Sep_20_18_34_32_2007_738)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Thu_Sep_20_18_34_32_2007_738)----