diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-05-01 23:55:10 +0200 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 23:43:19 +0200 |
commit | 8a9343fa24d8d3fcb189bed2b7afcf4b8a8c1c8d (patch) | |
tree | a800d299e2324ce21d6ae150cedf33d79f578304 /fs/ocfs2/dlm | |
parent | ocfs2: remove whitespace in dlmunlock.c (diff) | |
download | linux-8a9343fa24d8d3fcb189bed2b7afcf4b8a8c1c8d.tar.xz linux-8a9343fa24d8d3fcb189bed2b7afcf4b8a8c1c8d.zip |
ocfs2: dlm_print_one_mle() needs to be defined
Fixes compile breakage.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm')
-rw-r--r-- | fs/ocfs2/dlm/dlmmaster.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 733d9a528873..1b38c558f2ad 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c @@ -128,11 +128,8 @@ static inline int dlm_mle_equal(struct dlm_ctxt *dlm, return 1; } -#if 0 -/* Code here is included but defined out as it aids debugging */ - #define dlm_print_nodemap(m) _dlm_print_nodemap(m,#m) -void _dlm_print_nodemap(unsigned long *map, const char *mapname) +static void _dlm_print_nodemap(unsigned long *map, const char *mapname) { int i; printk("%s=[ ", mapname); @@ -142,7 +139,7 @@ void _dlm_print_nodemap(unsigned long *map, const char *mapname) printk("]"); } -void dlm_print_one_mle(struct dlm_master_list_entry *mle) +static void dlm_print_one_mle(struct dlm_master_list_entry *mle) { int refs; char *type; @@ -189,6 +186,9 @@ void dlm_print_one_mle(struct dlm_master_list_entry *mle) printk("\n"); } +#if 0 +/* Code here is included but defined out as it aids debugging */ + static void dlm_dump_mles(struct dlm_ctxt *dlm) { struct dlm_master_list_entry *mle; @@ -943,7 +943,7 @@ wait: dlm->name, res->lockname.len, res->lockname.name, blocked); dlm_print_one_lock_resource(res); - /* dlm_print_one_mle(mle); */ + dlm_print_one_mle(mle); tries = 0; } goto redo_request; |