aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Jabrzyk <m.jabrzyk@samsung.com>2015-01-07 05:14:41 -0500
committerJiri Kosina <jkosina@suse.cz>2015-01-20 08:08:31 -0500
commit8fc8f4d57c8d146971e4d1456f8e93a22e1487c3 (patch)
tree2549eebd27c594fe86affa15060c59d1bbcb8263
parent74f24257eec528495ac1761512954a3348febd82 (diff)
mm: fix cleancache debugfs directory path
Minor fixes for cleancache about wrong debugfs paths in documentation and code comment. Signed-off-by: Marcin Jabrzyk <m.jabrzyk@samsung.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--Documentation/vm/cleancache.txt2
-rw-r--r--mm/cleancache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/vm/cleancache.txt b/Documentation/vm/cleancache.txt
index 142fbb0f325a..01d76282444e 100644
--- a/Documentation/vm/cleancache.txt
+++ b/Documentation/vm/cleancache.txt
@@ -85,7 +85,7 @@ lock the page to ensure serial behavior.
85CLEANCACHE PERFORMANCE METRICS 85CLEANCACHE PERFORMANCE METRICS
86 86
87If properly configured, monitoring of cleancache is done via debugfs in 87If properly configured, monitoring of cleancache is done via debugfs in
88the /sys/kernel/debug/mm/cleancache directory. The effectiveness of cleancache 88the /sys/kernel/debug/cleancache directory. The effectiveness of cleancache
89can be measured (across all filesystems) with: 89can be measured (across all filesystems) with:
90 90
91succ_gets - number of gets that were successful 91succ_gets - number of gets that were successful
diff --git a/mm/cleancache.c b/mm/cleancache.c
index d0eac4350403..053bcd8f12fb 100644
--- a/mm/cleancache.c
+++ b/mm/cleancache.c
@@ -25,7 +25,7 @@
25static struct cleancache_ops *cleancache_ops __read_mostly; 25static struct cleancache_ops *cleancache_ops __read_mostly;
26 26
27/* 27/*
28 * Counters available via /sys/kernel/debug/frontswap (if debugfs is 28 * Counters available via /sys/kernel/debug/cleancache (if debugfs is
29 * properly configured. These are for information only so are not protected 29 * properly configured. These are for information only so are not protected
30 * against increment races. 30 * against increment races.
31 */ 31 */