mm: thp: correct split_huge_pages file permission
[deliverable/linux.git] / mm / huge_memory.c
index df67b53ae3c53423b8f3065093a6e65f90dbafb7..f7daa7de8f4867dc871edb8ea3a1ec6189e4d54f 100644 (file)
@@ -3452,7 +3452,7 @@ next:
                }
        }
 
-       pr_info("%lu of %lu THP split", split, total);
+       pr_info("%lu of %lu THP split\n", split, total);
 
        return 0;
 }
@@ -3463,7 +3463,7 @@ static int __init split_huge_pages_debugfs(void)
 {
        void *ret;
 
-       ret = debugfs_create_file("split_huge_pages", 0644, NULL, NULL,
+       ret = debugfs_create_file("split_huge_pages", 0200, NULL, NULL,
                        &split_huge_pages_fops);
        if (!ret)
                pr_warn("Failed to create split_huge_pages in debugfs");
This page took 0.024473 seconds and 5 git commands to generate.