diff options
Diffstat (limited to 'drivers/xen/xenfs/super.c')
| -rw-r--r-- | drivers/xen/xenfs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c index afaa6ede0168..984891e9a394 100644 --- a/drivers/xen/xenfs/super.c +++ b/drivers/xen/xenfs/super.c | |||
| @@ -101,6 +101,7 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent) | |||
| 101 | [1] = {}, | 101 | [1] = {}, |
| 102 | { "xenbus", &xenbus_file_ops, S_IRUSR|S_IWUSR }, | 102 | { "xenbus", &xenbus_file_ops, S_IRUSR|S_IWUSR }, |
| 103 | { "capabilities", &capabilities_file_ops, S_IRUGO }, | 103 | { "capabilities", &capabilities_file_ops, S_IRUGO }, |
| 104 | { "privcmd", &privcmd_file_ops, S_IRUSR|S_IWUSR }, | ||
| 104 | {""}, | 105 | {""}, |
| 105 | }; | 106 | }; |
| 106 | int rc; | 107 | int rc; |
| @@ -114,8 +115,6 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent) | |||
| 114 | &xsd_kva_file_ops, NULL, S_IRUSR|S_IWUSR); | 115 | &xsd_kva_file_ops, NULL, S_IRUSR|S_IWUSR); |
| 115 | xenfs_create_file(sb, sb->s_root, "xsd_port", | 116 | xenfs_create_file(sb, sb->s_root, "xsd_port", |
| 116 | &xsd_port_file_ops, NULL, S_IRUSR|S_IWUSR); | 117 | &xsd_port_file_ops, NULL, S_IRUSR|S_IWUSR); |
| 117 | xenfs_create_file(sb, sb->s_root, "privcmd", | ||
| 118 | &privcmd_file_ops, NULL, S_IRUSR|S_IWUSR); | ||
| 119 | } | 118 | } |
| 120 | 119 | ||
| 121 | return rc; | 120 | return rc; |
