Răsfoiți Sursa

Remove ugly debugging stuff

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Artem B. Bityuckiy 19 ani în urmă
părinte
comite
3be7d29fb9
1 a modificat fișierele cu 0 adăugiri și 9 ștergeri
  1. 0 9
      fs/dcache.c

+ 0 - 9
fs/dcache.c

@@ -34,7 +34,6 @@
 #include <linux/swap.h>
 #include <linux/swap.h>
 #include <linux/bootmem.h>
 #include <linux/bootmem.h>
 
 
-/* #define DCACHE_DEBUG 1 */
 
 
 int sysctl_vfs_cache_pressure = 100;
 int sysctl_vfs_cache_pressure = 100;
 EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
 EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
@@ -603,10 +602,6 @@ resume:
 		 */
 		 */
 		if (!list_empty(&dentry->d_subdirs)) {
 		if (!list_empty(&dentry->d_subdirs)) {
 			this_parent = dentry;
 			this_parent = dentry;
-#ifdef DCACHE_DEBUG
-printk(KERN_DEBUG "select_parent: descending to %s/%s, found=%d\n",
-dentry->d_parent->d_name.name, dentry->d_name.name, found);
-#endif
 			goto repeat;
 			goto repeat;
 		}
 		}
 	}
 	}
@@ -616,10 +611,6 @@ dentry->d_parent->d_name.name, dentry->d_name.name, found);
 	if (this_parent != parent) {
 	if (this_parent != parent) {
 		next = this_parent->d_u.d_child.next;
 		next = this_parent->d_u.d_child.next;
 		this_parent = this_parent->d_parent;
 		this_parent = this_parent->d_parent;
-#ifdef DCACHE_DEBUG
-printk(KERN_DEBUG "select_parent: ascending to %s/%s, found=%d\n",
-this_parent->d_parent->d_name.name, this_parent->d_name.name, found);
-#endif
 		goto resume;
 		goto resume;
 	}
 	}
 out:
 out: