Dan Smith wrote:
# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1228415403 28800
# Node ID f4ae9827f50048c5054c159ccd755e9c3ba574e8
# Parent ef03ffafe2dd00f3e2a78a2bce1cb9b4836b5d2b
Fix an old omission (and a couple typos) in virt_device_dup()
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r ef03ffafe2dd -r f4ae9827f500 libxkutil/device_parsing.c
--- a/libxkutil/device_parsing.c Thu Dec 04 09:41:51 2008 -0700
+++ b/libxkutil/device_parsing.c Thu Dec 04 10:30:03 2008 -0800
@@ -661,8 +661,9 @@
DUP_FIELD(dev, _dev, dev.disk.driver);
DUP_FIELD(dev, _dev, dev.disk.source);
DUP_FIELD(dev, _dev, dev.disk.virtual_dev);
- dev->dev.disk.readonly = dev->dev.disk.readonly;
- dev->dev.disk.shareable = dev->dev.disk.shareable;
+ dev->dev.disk.disk_type = _dev->dev.disk.type
This should be _dev->dev.disk_type - also, missing the semicolon at the
end of the line.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com