Shriram Rajagopalan
2011-Feb-24 02:21 UTC
[Xen-devel] [PATCH] remus: fix incorrect disk_info_t initialization
# HG changeset patch # User Shriram Rajagopalan <rshriram@cs.ubc.ca> # 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@cs.ubc.ca> 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@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Feb-25 17:24 UTC
Re: [Xen-devel] [PATCH] remus: fix incorrect disk_info_t initialization
Shriram Rajagopalan writes ("[Xen-devel] [PATCH] remus: fix incorrect disk_info_t initialization"):> remus: fix incorrect disk_info_t initializationAcked and applied, thanks. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel