|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] Allow space in vbd path name
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274858936 -3600
# Node ID 72b9c78aef6bcdead03c3c36dd1bc324383ed01c
# Parent 872ddbd95ad00fe70c1fe6a3653263d27423b8d6
Allow space in vbd path name
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@xxxxxxxxxx>
xen-unstable changeset: 21459:611a36481e92
xen-unstable date: Wed May 26 08:14:51 2010 +0100
---
tools/hotplug/Linux/block | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 872ddbd95ad0 -r 72b9c78aef6b tools/hotplug/Linux/block
--- a/tools/hotplug/Linux/block Wed May 26 08:28:33 2010 +0100
+++ b/tools/hotplug/Linux/block Wed May 26 08:28:56 2010 +0100
@@ -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"
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] Allow space in vbd path name,
Xen patchbot-4.0-testing <=
|
|
|
|
|