Commit 67159813127309c1a65d86e40fa0368241fa668c

Authored by Naoya Horiguchi
Committed by Andi Kleen
1 parent c6ea21e35b

page-types.c: fix name of unpoison interface

The page-types utility still uses an out of date name for the
unpoison interface: debugfs:hwpoison/renew-pfn
This patch renames and fixes it.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

Documentation/vm/page-types.c
... ... @@ -478,7 +478,7 @@
478 478 }
479 479  
480 480 if (opt_unpoison && !hwpoison_forget_fd) {
481   - sprintf(buf, "%s/renew-pfn", hwpoison_debug_fs);
  481 + sprintf(buf, "%s/unpoison-pfn", hwpoison_debug_fs);
482 482 hwpoison_forget_fd = checked_open(buf, O_WRONLY);
483 483 }
484 484 }