diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2010-09-08 10:19:41 +0900 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2010-10-07 09:41:24 +0200 |
commit | 67159813127309c1a65d86e40fa0368241fa668c (patch) | |
tree | cd42c8bab591745bf4c4b016fd686786c1d35556 /Documentation/vm | |
parent | c6ea21e35bf3691cad59647c771e6606067f627d (diff) | |
download | linux-67159813127309c1a65d86e40fa0368241fa668c.tar.gz linux-67159813127309c1a65d86e40fa0368241fa668c.tar.bz2 linux-67159813127309c1a65d86e40fa0368241fa668c.zip |
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>
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/page-types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c index ccd951fa94ee..cc96ee2666f2 100644 --- a/Documentation/vm/page-types.c +++ b/Documentation/vm/page-types.c @@ -478,7 +478,7 @@ static void prepare_hwpoison_fd(void) } if (opt_unpoison && !hwpoison_forget_fd) { - sprintf(buf, "%s/renew-pfn", hwpoison_debug_fs); + sprintf(buf, "%s/unpoison-pfn", hwpoison_debug_fs); hwpoison_forget_fd = checked_open(buf, O_WRONLY); } } |