summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-05-19 12:43:04 -0700
committerSage Weil <sage@newdream.net>2009-05-19 12:43:04 -0700
commit284161c00ab6c68fa8ae0e495f6464cbd3fe6590 (patch)
treeecc294cfdac760f8c303ccdd05595d7c1144633e
parentba73ac8cd29550f3102dba0453ca56afd464c90e (diff)
downloadceph-0.8.tar.gz
kclient: kill dput/d_drop debug cruftv0.8
-rw-r--r--src/kernel/ceph_debug.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/kernel/ceph_debug.h b/src/kernel/ceph_debug.h
index c5cfaece18d..2add05c27f8 100644
--- a/src/kernel/ceph_debug.h
+++ b/src/kernel/ceph_debug.h
@@ -83,21 +83,4 @@ extern int ceph_debug_tools __read_mostly;
#define dout(x, args...) _dout(x, args, TRAIL_PARAM)
#define derr(x, args...) _derr(x, args, TRAIL_PARAM)
-/* dcache d_count debugging */
-#if 0
-# define dput(dentry) \
- do { \
- dout(20, "dput %p %d -> %d\n", dentry, \
- atomic_read(&dentry->d_count), \
- atomic_read(&dentry->d_count)-1); \
- dput(dentry); \
- } while (0)
-# define d_drop(dentry) \
- do { \
- dout(20, "d_drop %p\n", dentry); \
- d_drop(dentry); \
- } while (0)
-#endif
-
-
#endif