GFS2: Make bd_cmp() static
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 21 Feb 2012 11:14:00 +0000 (11:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 28 Feb 2012 17:11:27 +0000 (17:11 +0000)
Add missing static to bd_cmp()

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/log.c

index b8fe7b739c278642e68e0cd9e66c75a3ecffe5a2..2b9f0d9b1b287d66456361b542b47a19a0c5e2ef 100644 (file)
@@ -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;