projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8ad764
)
Allow space in vbd path name
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 26 May 2010 07:14:51 +0000
(08:14 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 26 May 2010 07:14:51 +0000
(08:14 +0100)
c/s 20393 breaks existing domain configuration that contains
spaces in the vbd path name. Fixed by this trivial patch which
provides missing quotes.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/hotplug/Linux/block
patch
|
blob
|
history
diff --git
a/tools/hotplug/Linux/block
b/tools/hotplug/Linux/block
index ff85bcb43350c34b972be7b6ee0e7fb9dcd91ec0..122e93e35b35098a30dbae15d66154e1eaee7d1d 100644
(file)
--- a/
tools/hotplug/Linux/block
+++ b/
tools/hotplug/Linux/block
@@
-272,8
+272,8
@@
mount it read-write in a guest domain."
if [ "x$mode" != 'x!' ]
then
- inode=$(stat -c '%i'
$file
)
- dev=$(stat -c '%D'
$file
)
+ inode=$(stat -c '%i'
"$file"
)
+ dev=$(stat -c '%D'
"$file"
)
if [ -z "$inode" ] || [ -z "$dev" ]
then
fatal "Unable to lookup $file: dev: $dev inode: $inode"