[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] xenbus-dev watches: Actually add the extra data to the watch event
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |