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-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] remus: fix incorrect disk_info_t initialization
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 26 Feb 2011 07:40:10 +0000
Delivery-date: Fri, 25 Feb 2011 23:40:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] remus: fix incorrect disk_info_t initialization, Xen patchbot-unstable <=