From: Chen Gong Date: Tue, 22 Mar 2011 23:35:03 +0000 (-0700) Subject: Documentation/vm/page-types.c: auto debugfs mount for hwpoison operation X-Git-Tag: v2.6.39-rc1~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12da58b0c89e27617aaedde7dcf99a8690875e91;p=pandora-kernel.git Documentation/vm/page-types.c: auto debugfs mount for hwpoison operation page-types.c doesn't supply a way to specify the debugfs path and the original debugfs path is not usual on most machines. This patch supplies a way to auto mount debugfs if needed. This patch is heavily inspired by tools/perf/utils/debugfs.c [akpm@linux-foundation.org: make functions static] [akpm@linux-foundation.org: fix debugfs_mount() signature] Signed-off-by: Chen Gong Reviewed-by: KOSAKI Motohiro Reviewed-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed