aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmcommon.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2008-03-10 18:16:23 -0400
committerMark Fasheh <mfasheh@suse.com>2008-04-18 11:56:08 -0400
commit007dce53a29ccffc000ab5373d188f73881390fd (patch)
tree84ce6e26cc3bed0cb2e041b1a4aabca3449498ff /fs/ocfs2/dlm/dlmcommon.h
parent6325b4a22b8f5e40ea9353288b3d6a32181f9718 (diff)
ocfs2/dlm: Dump the dlm state in a debugfs file
This patch dumps the dlm state (dlm_ctxt) into a debugfs file. Useful for debugging. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r--fs/ocfs2/dlm/dlmcommon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h
index 6a491403bbfb..f7a51ca64a2e 100644
--- a/fs/ocfs2/dlm/dlmcommon.h
+++ b/fs/ocfs2/dlm/dlmcommon.h
@@ -123,6 +123,7 @@ struct dlm_ctxt
123 atomic_t remote_resources; 123 atomic_t remote_resources;
124 atomic_t unknown_resources; 124 atomic_t unknown_resources;
125 125
126 struct dlm_debug_ctxt *dlm_debug_ctxt;
126 struct dentry *dlm_debugfs_subroot; 127 struct dentry *dlm_debugfs_subroot;
127 128
128 /* NOTE: Next three are protected by dlm_domain_lock */ 129 /* NOTE: Next three are protected by dlm_domain_lock */