aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/xenbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/xen-netback/xenbus.c')
-rw-r--r--drivers/net/xen-netback/xenbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c
index a56d3eab35dd..e1aef253601e 100644
--- a/drivers/net/xen-netback/xenbus.c
+++ b/drivers/net/xen-netback/xenbus.c
@@ -224,7 +224,7 @@ static void xenvif_debugfs_addif(struct xenvif *vif)
224 224
225 snprintf(filename, sizeof(filename), "io_ring_q%d", i); 225 snprintf(filename, sizeof(filename), "io_ring_q%d", i);
226 pfile = debugfs_create_file(filename, 226 pfile = debugfs_create_file(filename,
227 S_IRUSR | S_IWUSR, 227 0600,
228 vif->xenvif_dbg_root, 228 vif->xenvif_dbg_root,
229 &vif->queues[i], 229 &vif->queues[i],
230 &xenvif_dbg_io_ring_ops_fops); 230 &xenvif_dbg_io_ring_ops_fops);
@@ -235,7 +235,7 @@ static void xenvif_debugfs_addif(struct xenvif *vif)
235 235
236 if (vif->ctrl_irq) { 236 if (vif->ctrl_irq) {
237 pfile = debugfs_create_file("ctrl", 237 pfile = debugfs_create_file("ctrl",
238 S_IRUSR, 238 0400,
239 vif->xenvif_dbg_root, 239 vif->xenvif_dbg_root,
240 vif, 240 vif,
241 &xenvif_dbg_ctrl_ops_fops); 241 &xenvif_dbg_ctrl_ops_fops);