diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2011-03-22 16:35:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 17:44:17 -0700 |
commit | 12da58b0c89e27617aaedde7dcf99a8690875e91 (patch) | |
tree | 67efcc8e3267e8bdaa07c72ab081d66e2b9cc0c3 /fs | |
parent | e06c374400148849cbf496fce7a28680c3604457 (diff) | |
download | linux-stable-12da58b0c89e27617aaedde7dcf99a8690875e91.tar.gz linux-stable-12da58b0c89e27617aaedde7dcf99a8690875e91.tar.bz2 linux-stable-12da58b0c89e27617aaedde7dcf99a8690875e91.zip |
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 <gong.chen@linux.intel.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions