]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: kill dput/d_drop debug cruft v0.8
authorSage Weil <sage@newdream.net>
Tue, 19 May 2009 19:43:04 +0000 (12:43 -0700)
committerSage Weil <sage@newdream.net>
Tue, 19 May 2009 19:43:04 +0000 (12:43 -0700)
src/kernel/ceph_debug.h

index c5cfaece18d45e76cb89a794982cc84d2e6cfda5..2add05c27f81ec9622acb97fda83581fe3de1751 100644 (file)
@@ -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