[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] remus: fix incorrect disk_info_t initialization



# HG changeset patch
# User Shriram Rajagopalan <rshriram@xxxxxxxxx>
# Date 1298654638 0
# Node ID d9065311f76dc6d5188ab595262f76a9f9411358
# Parent  d6bd6e2c5ce1c9d0585fa30b65a34b81d15bc64c
remus: fix incorrect disk_info_t initialization

Fix tapdisk-disktype.c's initialization for remus' disk_info_t,
which is currently initializing the disk name with disk description.

Signed-off-by: Shriram Rajagopalan <rshriram@xxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r d6bd6e2c5ce1 -r d9065311f76d tools/blktap2/drivers/tapdisk-disktype.c
--- a/tools/blktap2/drivers/tapdisk-disktype.c  Fri Feb 25 17:15:20 2011 +0000
+++ b/tools/blktap2/drivers/tapdisk-disktype.c  Fri Feb 25 17:23:58 2011 +0000
@@ -94,9 +94,9 @@
        0,
 };
 
-static disk_info_t remus_disk = {
+static const disk_info_t remus_disk = {
+       "remus",
        "remus disk replicator (remus)",
-       "remus",
        0,
 };
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.