diff options
-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, | |||
128 | return 1; | 128 | return 1; |
129 | } | 129 | } |
130 | 130 | ||
131 | #if 0 | ||
132 | /* Code here is included but defined out as it aids debugging */ | ||
133 | |||
134 | #define dlm_print_nodemap(m) _dlm_print_nodemap(m,#m) | 131 | #define dlm_print_nodemap(m) _dlm_print_nodemap(m,#m) |
135 | void _dlm_print_nodemap(unsigned long *map, const char *mapname) | 132 | static void _dlm_print_nodemap(unsigned long *map, const char *mapname) |
136 | { | 133 | { |
137 | int i; | 134 | int i; |
138 | printk("%s=[ ", mapname); | 135 | printk("%s=[ ", mapname); |
@@ -142,7 +139,7 @@ void _dlm_print_nodemap(unsigned long *map, const char *mapname) | |||
142 | printk("]"); | 139 | printk("]"); |
143 | } | 140 | } |
144 | 141 | ||
145 | void dlm_print_one_mle(struct dlm_master_list_entry *mle) | 142 | static void dlm_print_one_mle(struct dlm_master_list_entry *mle) |
146 | { | 143 | { |
147 | int refs; | 144 | int refs; |
148 | char *type; | 145 | char *type; |
@@ -189,6 +186,9 @@ void dlm_print_one_mle(struct dlm_master_list_entry *mle) | |||
189 | printk("\n"); | 186 | printk("\n"); |
190 | } | 187 | } |
191 | 188 | ||
189 | #if 0 | ||
190 | /* Code here is included but defined out as it aids debugging */ | ||
191 | |||
192 | static void dlm_dump_mles(struct dlm_ctxt *dlm) | 192 | static void dlm_dump_mles(struct dlm_ctxt *dlm) |
193 | { | 193 | { |
194 | struct dlm_master_list_entry *mle; | 194 | struct dlm_master_list_entry *mle; |
@@ -943,7 +943,7 @@ wait: | |||
943 | dlm->name, res->lockname.len, | 943 | dlm->name, res->lockname.len, |
944 | res->lockname.name, blocked); | 944 | res->lockname.name, blocked); |
945 | dlm_print_one_lock_resource(res); | 945 | dlm_print_one_lock_resource(res); |
946 | /* dlm_print_one_mle(mle); */ | 946 | dlm_print_one_mle(mle); |
947 | tries = 0; | 947 | tries = 0; |
948 | } | 948 | } |
949 | goto redo_request; | 949 | goto redo_request; |