Skip to contentSkip to conversation

blktap: deletion of double check

PATCH New Tomonari Horikoshi 1 participant 1 message Jul 18, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blktap: deletion of double check

Hi all.

This patch deletes a double check.
And device file(/dev/sdxx) is permitted to be used with blktap.

Best regards,
Tomonari Horikoshi

# HG changeset patch
# User [email protected]
# Date 1216346515 -32400
# Node ID e17f5fd18c9a8b682d3ce479d2569d6abd36e587 # Parent 953a0bba30bd33df1b9b2891c0dfbb823f8dfe91 deletion of double check and permission of using /dev/sdxx

tools/examples/blktap +0 -1
diff -r 953a0bba30bd -r e17f5fd18c9a tools/examples/blktap
@@ -69,7 +69,6 @@ if [ -L "$p" ]; then
 if [ -L "$p" ]; then
     file=$(readlink -f "$p") || fatal "$p link does not exist."
 else
-    [ -f "$p" ] || { fatal "$p file does not exist."; }
     file="$p"
 fi
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel