summaryrefslogtreecommitdiff
path: root/mm/failslab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/failslab.c')
-rw-r--r--mm/failslab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/failslab.c b/mm/failslab.c
index 1f2f248e3601..b135ebb88b6f 100644
--- a/mm/failslab.c
+++ b/mm/failslab.c
@@ -42,7 +42,7 @@ __setup("failslab=", setup_failslab);
static int __init failslab_debugfs_init(void)
{
struct dentry *dir;
- umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
+ umode_t mode = S_IFREG | 0600;
dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr);
if (IS_ERR(dir))