Commit 8a9343fa authored by Mark Fasheh's avatar Mark Fasheh

ocfs2: dlm_print_one_mle() needs to be defined

Fixes compile breakage.
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 0032abd6
...@@ -128,11 +128,8 @@ static inline int dlm_mle_equal(struct dlm_ctxt *dlm, ...@@ -128,11 +128,8 @@ static inline int dlm_mle_equal(struct dlm_ctxt *dlm,
return 1; 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) #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; int i;
printk("%s=[ ", mapname); printk("%s=[ ", mapname);
...@@ -142,7 +139,7 @@ void _dlm_print_nodemap(unsigned long *map, const char *mapname) ...@@ -142,7 +139,7 @@ void _dlm_print_nodemap(unsigned long *map, const char *mapname)
printk("]"); 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; int refs;
char *type; char *type;
...@@ -189,6 +186,9 @@ void dlm_print_one_mle(struct dlm_master_list_entry *mle) ...@@ -189,6 +186,9 @@ void dlm_print_one_mle(struct dlm_master_list_entry *mle)
printk("\n"); printk("\n");
} }
#if 0
/* Code here is included but defined out as it aids debugging */
static void dlm_dump_mles(struct dlm_ctxt *dlm) static void dlm_dump_mles(struct dlm_ctxt *dlm)
{ {
struct dlm_master_list_entry *mle; struct dlm_master_list_entry *mle;
...@@ -943,7 +943,7 @@ struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm, ...@@ -943,7 +943,7 @@ struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm,
dlm->name, res->lockname.len, dlm->name, res->lockname.len,
res->lockname.name, blocked); res->lockname.name, blocked);
dlm_print_one_lock_resource(res); dlm_print_one_lock_resource(res);
/* dlm_print_one_mle(mle); */ dlm_print_one_mle(mle);
tries = 0; tries = 0;
} }
goto redo_request; goto redo_request;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment