From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id B23946B0071 for ; Wed, 6 Oct 2010 16:49:14 -0400 (EDT) From: Andi Kleen Subject: [PATCH 1/4] page-types.c: fix name of unpoison interface Date: Wed, 6 Oct 2010 22:48:58 +0200 Message-Id: <1286398141-13749-2-git-send-email-andi@firstfloor.org> In-Reply-To: <1286398141-13749-1-git-send-email-andi@firstfloor.org> References: <1286398141-13749-1-git-send-email-andi@firstfloor.org> Sender: owner-linux-mm@kvack.org To: linux-kernel@vger.kernel.org Cc: fengguang.wu@intel.com, linux-mm@kvack.org, Naoya Horiguchi , Andi Kleen List-ID: From: Naoya Horiguchi 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 Acked-by: Wu Fengguang Signed-off-by: Andi Kleen --- 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 ccd951f..cc96ee2 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); } } -- 1.7.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org