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

[Xen-devel] [PATCH] remus: fix incorrect disk_info_t initialization



# HG changeset patch
# User Shriram Rajagopalan <rshriram@xxxxxxxxx>
# Date 1298513871 28800
# Node ID 0a53da0fbfd8bcafed3aad7236f54e3dda6ee29d
# Parent  5a4710640f815db6609cc41f902752f28c1d06ab
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>

diff -r 5a4710640f81 -r 0a53da0fbfd8 tools/blktap2/drivers/tapdisk-disktype.c
--- a/tools/blktap2/drivers/tapdisk-disktype.c  Thu Feb 17 19:52:20 2011 +0000
+++ b/tools/blktap2/drivers/tapdisk-disktype.c  Wed Feb 23 18:17:51 2011 -0800
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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