summaryrefslogtreecommitdiff
path: root/fs/orangefs/orangefs-debugfs.h
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-08-15 11:38:36 -0400
committerMartin Brandenburg <martin@omnibond.com>2016-08-15 11:38:36 -0400
commit44f4641073f132429e1e9a53412600206e8f7d06 (patch)
tree65ba85e9b795a2d1610bce311b3bd3aff44b2075 /fs/orangefs/orangefs-debugfs.h
parenta21aae3bb15a1d08040bdcf5a73504c0da9f5080 (diff)
orangefs: clean up debugfs globals
Mostly this is moving code into orangefs-debugfs.c so that globals turn into static globals. Then gossip_debug_mask is renamed orangefs_gossip_debug_mask but keeps global visibility, so it can be used from a macro. Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-debugfs.h')
-rw-r--r--fs/orangefs/orangefs-debugfs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/orangefs/orangefs-debugfs.h b/fs/orangefs/orangefs-debugfs.h
index e4828c0e3ef9..803517269ba6 100644
--- a/fs/orangefs/orangefs-debugfs.h
+++ b/fs/orangefs/orangefs-debugfs.h
@@ -1,3 +1,7 @@
-int orangefs_debugfs_init(void);
-int orangefs_kernel_debug_init(void);
+int orangefs_debugfs_init(int);
void orangefs_debugfs_cleanup(void);
+int orangefs_client_debug_init(void);
+int orangefs_prepare_debugfs_help_string(int);
+int orangefs_debugfs_new_client_mask(void __user *);
+int orangefs_debugfs_new_client_string(void __user *);
+int orangefs_debugfs_new_debug(void __user *);