|
@@ -101,6 +101,7 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
|
|
[1] = {},
|
|
[1] = {},
|
|
{ "xenbus", &xenbus_file_ops, S_IRUSR|S_IWUSR },
|
|
{ "xenbus", &xenbus_file_ops, S_IRUSR|S_IWUSR },
|
|
{ "capabilities", &capabilities_file_ops, S_IRUGO },
|
|
{ "capabilities", &capabilities_file_ops, S_IRUGO },
|
|
|
|
+ { "privcmd", &privcmd_file_ops, S_IRUSR|S_IWUSR },
|
|
{""},
|
|
{""},
|
|
};
|
|
};
|
|
int rc;
|
|
int rc;
|
|
@@ -114,8 +115,6 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
|
|
&xsd_kva_file_ops, NULL, S_IRUSR|S_IWUSR);
|
|
&xsd_kva_file_ops, NULL, S_IRUSR|S_IWUSR);
|
|
xenfs_create_file(sb, sb->s_root, "xsd_port",
|
|
xenfs_create_file(sb, sb->s_root, "xsd_port",
|
|
&xsd_port_file_ops, NULL, S_IRUSR|S_IWUSR);
|
|
&xsd_port_file_ops, NULL, S_IRUSR|S_IWUSR);
|
|
- xenfs_create_file(sb, sb->s_root, "privcmd",
|
|
|
|
- &privcmd_file_ops, NULL, S_IRUSR|S_IWUSR);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
return rc;
|
|
return rc;
|