Browse Source

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>
Marcin Jabrzyk 10 years ago
parent
commit
8fc8f4d57c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Documentation/vm/cleancache.txt
  2. 1 1
      mm/cleancache.c

+ 1 - 1
Documentation/vm/cleancache.txt

@@ -85,7 +85,7 @@ lock the page to ensure serial behavior.
 CLEANCACHE PERFORMANCE METRICS
 CLEANCACHE PERFORMANCE METRICS
 
 
 If properly configured, monitoring of cleancache is done via debugfs in
 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:
 can be measured (across all filesystems) with:
 
 
 succ_gets	- number of gets that were successful
 succ_gets	- number of gets that were successful

+ 1 - 1
mm/cleancache.c

@@ -25,7 +25,7 @@
 static struct cleancache_ops *cleancache_ops __read_mostly;
 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
  * properly configured.  These are for information only so are not protected
  * against increment races.
  * against increment races.
  */
  */