xen/blkback: add accessor for xenbus backend device
Since backend_info is hidden away now.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
diff --git a/drivers/xen/blkback/common.h b/drivers/xen/blkback/common.h
index cebcc2b..0f91830 100644
--- a/drivers/xen/blkback/common.h
+++ b/drivers/xen/blkback/common.h
@@ -136,4 +136,6 @@
int blkback_barrier(struct xenbus_transaction xbt,
struct backend_info *be, int state);
+struct xenbus_device *blkback_xenbus(struct backend_info *be);
+
#endif /* __BLKIF__BACKEND__COMMON_H__ */