projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c44271
)
ocfs2/dlm: Expose dlm_protocol in dlm_state
author
Sunil Mushran
<sunil.mushran@oracle.com>
Thu, 7 Oct 2010 00:55:34 +0000
(17:55 -0700)
committer
Sunil Mushran
<sunil.mushran@oracle.com>
Thu, 7 Oct 2010 00:55:34 +0000
(17:55 -0700)
Add dlm_protocol to the list of info shown by the debugfs file, dlm_state.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
fs/ocfs2/dlm/dlmdebug.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/dlm/dlmdebug.c
b/fs/ocfs2/dlm/dlmdebug.c
index 901ca52bf86b293639ea39c8e1f460b66bc1f265..f693ab812f3eda886e113618e6653116c598f724 100644
(file)
--- a/
fs/ocfs2/dlm/dlmdebug.c
+++ b/
fs/ocfs2/dlm/dlmdebug.c
@@
-782,7
+782,9
@@
static int debug_state_print(struct dlm_ctxt *dlm, struct debug_buffer *db)
/* Domain: xxxxxxxxxx Key: 0xdfbac769 */
out += snprintf(db->buf + out, db->len - out,
- "Domain: %s Key: 0x%08x\n", dlm->name, dlm->key);
+ "Domain: %s Key: 0x%08x Protocol: %d.%d\n",
+ dlm->name, dlm->key, dlm->dlm_locking_proto.pv_major,
+ dlm->dlm_locking_proto.pv_minor);
/* Thread Pid: xxx Node: xxx State: xxxxx */
out += snprintf(db->buf + out, db->len - out,