diff options
| author | Artem B. Bityuckiy <dedekind@infradead.org> | 2006-03-26 11:58:31 -0500 |
|---|---|---|
| committer | Adrian Bunk <bunk@stusta.de> | 2006-03-26 11:58:31 -0500 |
| commit | 3be7d29fb9c02962b49be636b30ca9cadd0fda4b (patch) | |
| tree | 2ec3fc11cb5f423091bd050181ac1786167c2ded | |
| parent | 5ac35783f4a471d43c557db27928bc29f8a9c6d0 (diff) | |
Remove ugly debugging stuff
Signed-off-by: Adrian Bunk <bunk@stusta.de>
| -rw-r--r-- | fs/dcache.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 0c78f05819df..0778f49f993b 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
| @@ -34,7 +34,6 @@ | |||
| 34 | #include <linux/swap.h> | 34 | #include <linux/swap.h> |
| 35 | #include <linux/bootmem.h> | 35 | #include <linux/bootmem.h> |
| 36 | 36 | ||
| 37 | /* #define DCACHE_DEBUG 1 */ | ||
| 38 | 37 | ||
| 39 | int sysctl_vfs_cache_pressure = 100; | 38 | int sysctl_vfs_cache_pressure = 100; |
| 40 | EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure); | 39 | EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure); |
| @@ -603,10 +602,6 @@ resume: | |||
| 603 | */ | 602 | */ |
| 604 | if (!list_empty(&dentry->d_subdirs)) { | 603 | if (!list_empty(&dentry->d_subdirs)) { |
| 605 | this_parent = dentry; | 604 | this_parent = dentry; |
| 606 | #ifdef DCACHE_DEBUG | ||
| 607 | printk(KERN_DEBUG "select_parent: descending to %s/%s, found=%d\n", | ||
| 608 | dentry->d_parent->d_name.name, dentry->d_name.name, found); | ||
| 609 | #endif | ||
| 610 | goto repeat; | 605 | goto repeat; |
| 611 | } | 606 | } |
| 612 | } | 607 | } |
| @@ -616,10 +611,6 @@ dentry->d_parent->d_name.name, dentry->d_name.name, found); | |||
| 616 | if (this_parent != parent) { | 611 | if (this_parent != parent) { |
| 617 | next = this_parent->d_u.d_child.next; | 612 | next = this_parent->d_u.d_child.next; |
| 618 | this_parent = this_parent->d_parent; | 613 | this_parent = this_parent->d_parent; |
| 619 | #ifdef DCACHE_DEBUG | ||
| 620 | printk(KERN_DEBUG "select_parent: ascending to %s/%s, found=%d\n", | ||
| 621 | this_parent->d_parent->d_name.name, this_parent->d_name.name, found); | ||
| 622 | #endif | ||
| 623 | goto resume; | 614 | goto resume; |
| 624 | } | 615 | } |
| 625 | out: | 616 | out: |
