Skip to contentSkip to conversation

dlm: make dlm_print_rsb() static

PATCH New David Teigland 1 participant 1 message Apr 15, 2008 Distributed lock manager (DLM)

lore
Share & tools
lore

David Teigland

author maintainer
#0 lore raw

PATCH 2/6 dlm: make dlm_print_rsb() static

From: Adrian Bunk <[email protected]>

dlm_print_rsb() can now become static.

---
 fs/dlm/lock.c |    2 +-
 fs/dlm/lock.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
fs/dlm/lock.c +1 -1
index 8f250ac..1e9e8eb 100644
@@ -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,
fs/dlm/lock.h +0 -1
index 05d9c82..88e93c8 100644
@@ -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);
Signature · 1 line
1.5.3.3