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] [linux-2.6.18-xen] xenbus-dev watches: Actually add the

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xenbus-dev watches: Actually add the extra data to the watch event
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 03 Jul 2008 06:30:24 -0700
Delivery-date: Thu, 03 Jul 2008 06:30:59 -0700
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 Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1215073056 -3600
# Node ID 88e01408ec0da0c406fde22a0003bd870144f180
# Parent  6794141e7418e4dc56def849ab68de3f0fac8a58
xenbus-dev watches: Actually add the extra data to the watch event
instead of adding the token twice.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxx>
---
 drivers/xen/xenbus/xenbus_dev.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6794141e7418 -r 88e01408ec0d drivers/xen/xenbus/xenbus_dev.c
--- a/drivers/xen/xenbus/xenbus_dev.c   Wed Jul 02 20:53:00 2008 +0100
+++ b/drivers/xen/xenbus/xenbus_dev.c   Thu Jul 03 09:17:36 2008 +0100
@@ -188,7 +188,7 @@ static void watch_fired(struct xenbus_wa
        queue_reply(adap->dev_data, (char *)path, path_len);
        queue_reply(adap->dev_data, (char *)token, tok_len);
        if (len > 2)
-               queue_reply(adap->dev_data, (char *)token, data_len);
+               queue_reply(adap->dev_data, (char *)vec[2], data_len);
        mutex_unlock(&adap->dev_data->reply_mutex);
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xenbus-dev watches: Actually add the extra data to the watch event, Xen patchbot-linux-2.6.18-xen <=