mm: fix cleancache debugfs directory path
authorMarcin Jabrzyk <m.jabrzyk@samsung.com>
Wed, 7 Jan 2015 10:14:41 +0000 (11:14 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jan 2015 13:08:31 +0000 (14:08 +0100)
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>
Documentation/vm/cleancache.txt
mm/cleancache.c

index 142fbb0..01d7628 100644 (file)
@@ -85,7 +85,7 @@ lock the page to ensure serial behavior.
 CLEANCACHE PERFORMANCE METRICS
 
 If properly configured, monitoring of cleancache is done via debugfs in
-the /sys/kernel/debug/mm/cleancache directory.  The effectiveness of cleancache
+the /sys/kernel/debug/cleancache directory.  The effectiveness of cleancache
 can be measured (across all filesystems) with:
 
 succ_gets      - number of gets that were successful
index d0eac43..053bcd8 100644 (file)
@@ -25,7 +25,7 @@
 static struct cleancache_ops *cleancache_ops __read_mostly;
 
 /*
- * Counters available via /sys/kernel/debug/frontswap (if debugfs is
+ * Counters available via /sys/kernel/debug/cleancache (if debugfs is
  * properly configured.  These are for information only so are not protected
  * against increment races.
  */