]> Git Repo - linux.git/commit - drivers/xen/xen-balloon.c
xen: modify xenstore watch event interface
authorJuergen Gross <[email protected]>
Thu, 9 Feb 2017 13:39:57 +0000 (14:39 +0100)
committerBoris Ostrovsky <[email protected]>
Thu, 9 Feb 2017 16:26:49 +0000 (11:26 -0500)
commit5584ea250ae44f929feb4c7bd3877d1c5edbf813
treed84dca574c46ec785098d13211d92ef74e3a74f2
parent332f791dc98d98116f4473b726f67c9321b0f31e
xen: modify xenstore watch event interface

Today a Xenstore watch event is delivered via a callback function
declared as:

void (*callback)(struct xenbus_watch *,
                 const char **vec, unsigned int len);

As all watch events only ever come with two parameters (path and token)
changing the prototype to:

void (*callback)(struct xenbus_watch *,
                 const char *path, const char *token);

is the natural thing to do.

Apply this change and adapt all users.

Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Reviewed-by: Wei Liu <[email protected]>
Reviewed-by: Roger Pau MonnĂ© <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
14 files changed:
drivers/block/xen-blkback/xenbus.c
drivers/net/xen-netback/xenbus.c
drivers/xen/cpu_hotplug.c
drivers/xen/manage.c
drivers/xen/xen-balloon.c
drivers/xen/xen-pciback/xenbus.c
drivers/xen/xenbus/xenbus.h
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_dev_frontend.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_probe_backend.c
drivers/xen/xenbus/xenbus_probe_frontend.c
drivers/xen/xenbus/xenbus_xs.c
include/xen/xenbus.h
This page took 0.060351 seconds and 4 git commands to generate.