Commit 170e19ab2900b7c959d7a0e627fd12f383efcfa1
Committed by
David Teigland
1 parent
5416b704ae
Exists in
master
and in
39 other branches
dlm: make dlm_print_rsb() static
dlm_print_rsb() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David Teigland <teigland@redhat.com>
Showing 2 changed files with 1 additions and 2 deletions Side-by-side Diff
fs/dlm/lock.c
... | ... | @@ -165,7 +165,7 @@ |
165 | 165 | lkb->lkb_grmode, lkb->lkb_wait_type, lkb->lkb_ast_type); |
166 | 166 | } |
167 | 167 | |
168 | -void dlm_print_rsb(struct dlm_rsb *r) | |
168 | +static void dlm_print_rsb(struct dlm_rsb *r) | |
169 | 169 | { |
170 | 170 | printk(KERN_ERR "rsb: nodeid %d flags %lx first %x rlc %d name %s\n", |
171 | 171 | r->res_nodeid, r->res_flags, r->res_first_lkid, |
fs/dlm/lock.h
... | ... | @@ -13,7 +13,6 @@ |
13 | 13 | #ifndef __LOCK_DOT_H__ |
14 | 14 | #define __LOCK_DOT_H__ |
15 | 15 | |
16 | -void dlm_print_rsb(struct dlm_rsb *r); | |
17 | 16 | void dlm_dump_rsb(struct dlm_rsb *r); |
18 | 17 | void dlm_print_lkb(struct dlm_lkb *lkb); |
19 | 18 | void dlm_receive_message_saved(struct dlm_ls *ls, struct dlm_message *ms); |