From b1274f826cf52f1de5218c848f7c8ccff2732ad3 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 3 Jul 2008 09:17:36 +0100 Subject: [PATCH] xenbus-dev watches: Actually add the extra data to the watch event instead of adding the token twice. Signed-off-by: Christian Limpach --- drivers/xen/xenbus/xenbus_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xenbus/xenbus_dev.c b/drivers/xen/xenbus/xenbus_dev.c index 83c0bd21..b72c537f 100644 --- a/drivers/xen/xenbus/xenbus_dev.c +++ b/drivers/xen/xenbus/xenbus_dev.c @@ -188,7 +188,7 @@ static void watch_fired(struct xenbus_watch *watch, 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); } -- 2.39.5