WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] remus: fix incorrect disk_info_t initialization
From: Shriram Rajagopalan <rshriram@xxxxxxxxx>
Date: Wed, 23 Feb 2011 18:21:18 -0800
Delivery-date: Wed, 23 Feb 2011 18:23:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
# 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

<Prev in Thread] Current Thread [Next in Thread>