提交 3be7d29f 编写于 作者: A Artem B. Bityuckiy 提交者: Adrian Bunk

Remove ugly debugging stuff

Signed-off-by: NAdrian Bunk <bunk@stusta.de>
上级 5ac35783
......@@ -34,7 +34,6 @@
#include <linux/swap.h>
#include <linux/bootmem.h>
/* #define DCACHE_DEBUG 1 */
int sysctl_vfs_cache_pressure = 100;
EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
......@@ -603,10 +602,6 @@ static int select_parent(struct dentry * parent)
*/
if (!list_empty(&dentry->d_subdirs)) {
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;
}
}
......@@ -616,10 +611,6 @@ dentry->d_parent->d_name.name, dentry->d_name.name, found);
if (this_parent != parent) {
next = this_parent->d_u.d_child.next;
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;
}
out:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册