mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5416b704ae
commit
170e19ab29
|
@ -165,7 +165,7 @@ void dlm_print_lkb(struct dlm_lkb *lkb)
|
|||
lkb->lkb_grmode, lkb->lkb_wait_type, lkb->lkb_ast_type);
|
||||
}
|
||||
|
||||
void dlm_print_rsb(struct dlm_rsb *r)
|
||||
static void dlm_print_rsb(struct dlm_rsb *r)
|
||||
{
|
||||
printk(KERN_ERR "rsb: nodeid %d flags %lx first %x rlc %d name %s\n",
|
||||
r->res_nodeid, r->res_flags, r->res_first_lkid,
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#ifndef __LOCK_DOT_H__
|
||||
#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);
|
||||
void dlm_receive_message_saved(struct dlm_ls *ls, struct dlm_message *ms);
|
||||
|
|
Loading…
Reference in New Issue