aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hwpoison-inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/hwpoison-inject.c')
-rw-r--r--mm/hwpoison-inject.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c
index 2b6b3200fa65..c4dfd89f654a 100644
--- a/mm/hwpoison-inject.c
+++ b/mm/hwpoison-inject.c
@@ -102,6 +102,16 @@ static int pfn_inject_init(void)
102 if (!dentry) 102 if (!dentry)
103 goto fail; 103 goto fail;
104 104
105 dentry = debugfs_create_u64("corrupt-filter-flags-mask", 0600,
106 hwpoison_dir, &hwpoison_filter_flags_mask);
107 if (!dentry)
108 goto fail;
109
110 dentry = debugfs_create_u64("corrupt-filter-flags-value", 0600,
111 hwpoison_dir, &hwpoison_filter_flags_value);
112 if (!dentry)
113 goto fail;
114
105 return 0; 115 return 0;
106fail: 116fail:
107 pfn_inject_exit(); 117 pfn_inject_exit();