diff options
author | David Teigland <teigland@redhat.com> | 2006-08-18 18:54:25 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-21 15:50:09 +0200 |
commit | a345da3e8f28ff69e1b14df78f7ddc6e7b78b726 (patch) | |
tree | a1aa40c1aae01064b64b953c9b4a16180dd82be9 /fs/dlm/lock.h | |
parent | [GFS2] Fix leak of gfs2_bufdata (diff) | |
download | linux-a345da3e8f28ff69e1b14df78f7ddc6e7b78b726.tar.xz linux-a345da3e8f28ff69e1b14df78f7ddc6e7b78b726.zip |
[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); |