summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/statedump.h
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-09-15 04:46:44 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-16 07:11:33 -0700
commitdcfc4bdd5962ad18665d9ad3f3309884c941845e (patch)
tree85fa786eab575ed48fbd50db9f0613cf9150dde3 /libglusterfs/src/statedump.h
parent5480b6eca96a8da4b159783a19f2ed5c2f640769 (diff)
Changed prototype for inode_table_dump() and inode_dump().
Changed prototype for inode_table_dump() and inode_dump() Added support for dumpop inode in mount/fuse and protocol/server Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 213 (Support for process state dump) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=213
Diffstat (limited to 'libglusterfs/src/statedump.h')
-rw-r--r--libglusterfs/src/statedump.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libglusterfs/src/statedump.h b/libglusterfs/src/statedump.h
index 9ac50ec0c..1997c65b9 100644
--- a/libglusterfs/src/statedump.h
+++ b/libglusterfs/src/statedump.h
@@ -47,8 +47,6 @@ void _gf_proc_dump_build_key (char *key, const char *prefix, char *fmt,...)
_gf_proc_dump_build_key(key, key_prefix, ##fmt);\
}
-typedef void (*inode_priv_dump_fn) (inode_t *);
-
void
gf_proc_dump_init();
@@ -68,11 +66,11 @@ void
gf_proc_dump_write(char *key, char *value,...);
void
-inode_table_dump(inode_table_t *itable, char *prefix, inode_priv_dump_fn fn);
+inode_table_dump(inode_table_t *itable, char *prefix);
void
fdtable_dump(fdtable_t *fdtable, char *prefix);
void
-inode_dump(inode_t *inode, char *prefix, inode_priv_dump_fn fn);
+inode_dump(inode_t *inode, char *prefix);
#endif /* STATEDUMP_H */