summaryrefslogtreecommitdiffstats
path: root/drivers/xen/blkback/xenbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/blkback/xenbus.c')
-rw-r--r--drivers/xen/blkback/xenbus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/xen/blkback/xenbus.c b/drivers/xen/blkback/xenbus.c
index 34f8e40..c31e5c4 100644
--- a/drivers/xen/blkback/xenbus.c
+++ b/drivers/xen/blkback/xenbus.c
@@ -42,6 +42,11 @@ static int connect_ring(struct backend_info *);
static void backend_changed(struct xenbus_watch *, const char **,
unsigned int);
+struct xenbus_device *blkback_xenbus(struct backend_info *be)
+{
+ return be->dev;
+}
+
static int blkback_name(blkif_t *blkif, char *buf)
{
char *devpath, *devname;
OpenPOWER on IntegriCloud