aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenfs/super.c
diff options
context:
space:
mode:
authorBastian Blank <waldi@debian.org>2011-12-10 19:29:47 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-12-16 13:29:39 -0500
commit2fb3683e7b164ee2b324039f7c9d90fe5b1a259b (patch)
tree7ac2e97b48e0940340c37aae4d08a6b67f1e4fd5 /drivers/xen/xenfs/super.c
parentxen: Add privcmd device driver (diff)
downloadlinux-dev-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.tar.xz
linux-dev-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.zip
xen: Add xenbus device driver
Access to xenbus is currently handled via xenfs. This adds a device driver for xenbus and makes xenfs use this code. Signed-off-by: Bastian Blank <waldi@debian.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xenfs/super.c')
-rw-r--r--drivers/xen/xenfs/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c
index a55fbf9a1519..a84b53c01436 100644
--- a/drivers/xen/xenfs/super.c
+++ b/drivers/xen/xenfs/super.c
@@ -17,6 +17,7 @@
#include "xenfs.h"
#include "../privcmd.h"
+#include "../xenbus/xenbus_comms.h"
#include <asm/xen/hypervisor.h>
@@ -83,7 +84,7 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
{
static struct tree_descr xenfs_files[] = {
[1] = {},
- { "xenbus", &xenbus_file_ops, S_IRUSR|S_IWUSR },
+ { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR },
{ "capabilities", &capabilities_file_ops, S_IRUGO },
{ "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR },
{""},