diff options
author | David Teigland <teigland@redhat.com> | 2006-08-18 11:54:25 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-21 09:50:09 -0400 |
commit | a345da3e8f28ff69e1b14df78f7ddc6e7b78b726 (patch) | |
tree | a1aa40c1aae01064b64b953c9b4a16180dd82be9 /fs/dlm/lock.h | |
parent | 15d00c0b91ca776b51b5ab04f79ab35b06670d30 (diff) | |
download | linux-a345da3e8f28ff69e1b14df78f7ddc6e7b78b726.tar.bz2 |
[DLM] dump rsb and locks on assert
Introduce new function dlm_dump_rsb() to call within assertions instead of
dlm_print_rsb(). The new function dumps info about all locks on the rsb
in addition to rsb details.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lock.h')
-rw-r--r-- | fs/dlm/lock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lock.h b/fs/dlm/lock.h index 8d2660f0ab10..0843a3073ec3 100644 --- a/fs/dlm/lock.h +++ b/fs/dlm/lock.h @@ -14,6 +14,7 @@ #define __LOCK_DOT_H__ void dlm_print_rsb(struct dlm_rsb *r); +void dlm_dump_rsb(struct dlm_rsb *r); void dlm_print_lkb(struct dlm_lkb *lkb); int dlm_receive_message(struct dlm_header *hd, int nodeid, int recovery); int dlm_modes_compat(int mode1, int mode2); |