|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Allow space in vbd path name
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274858091 -3600
# Node ID 611a36481e92c6ccd36fd12c7e63a66cd1dfe07a
# Parent cef74c37b4f683127494d6b6b2acb0df6efce035
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>
---
tools/hotplug/Linux/block | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r cef74c37b4f6 -r 611a36481e92 tools/hotplug/Linux/block
--- a/tools/hotplug/Linux/block Wed May 26 08:13:47 2010 +0100
+++ b/tools/hotplug/Linux/block Wed May 26 08:14:51 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-unstable] Allow space in vbd path name,
Xen patchbot-unstable <=
|
|
|
|
|