Skip to contentSkip to conversation

GFS2: Make bd_cmp() static

Cluster-devel Steven Whitehouse 1 participant 1 message Feb 21, 2012 GFS2 file system

lore
Share & tools
lore
#0 lore raw

From b3e8048654f583c2d9577c999dae07994280fd2b Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Tue, 21 Feb 2012 11:14:00 +0000
Subject: [PATCH] GFS2: Make bd_cmp() static

Add missing static to bd_cmp()

fs/gfs2/log.c +1 -1
index b8fe7b7..2b9f0d9 100644
@@ -567,7 +567,7 @@ static void log_flush_commit(struct gfs2_sbd *sdp)
 	log_write_header(sdp, 0, 0);
 }
 
-int bd_cmp(void *priv, struct list_head *a, struct list_head *b)
+static int bd_cmp(void *priv, struct list_head *a, struct list_head *b)
 {
 	struct gfs2_bufdata *bda, *bdb;
 
Signature · 1 line
1.7.4