|
@@ -88,12 +88,12 @@ static int pfn_inject_init(void)
|
|
|
* hardware status change, hence do not require hardware support.
|
|
|
* They are mainly for testing hwpoison in software level.
|
|
|
*/
|
|
|
- dentry = debugfs_create_file("corrupt-pfn", 0600, hwpoison_dir,
|
|
|
+ dentry = debugfs_create_file("corrupt-pfn", 0200, hwpoison_dir,
|
|
|
NULL, &hwpoison_fops);
|
|
|
if (!dentry)
|
|
|
goto fail;
|
|
|
|
|
|
- dentry = debugfs_create_file("unpoison-pfn", 0600, hwpoison_dir,
|
|
|
+ dentry = debugfs_create_file("unpoison-pfn", 0200, hwpoison_dir,
|
|
|
NULL, &unpoison_fops);
|
|
|
if (!dentry)
|
|
|
goto fail;
|