[Cluster-devel] [PATCH 4/4] fsck.gfs2: Make block_mounters static

Andrew Price andy at andrewprice.me.uk
Wed Aug 19 08:24:34 UTC 2009


Make block_mounters static - it's only used in initialize.c

Signed-off-by: Andrew Price <andy at andrewprice.me.uk>
---
 gfs2/fsck/initialize.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gfs2/fsck/initialize.c b/gfs2/fsck/initialize.c
index 8bf5782..789895e 100644
--- a/gfs2/fsck/initialize.c
+++ b/gfs2/fsck/initialize.c
@@ -31,7 +31,7 @@
  * Change the lock protocol so nobody can mount the fs
  *
  */
-int block_mounters(struct gfs2_sbd *sbp, int block_em)
+static int block_mounters(struct gfs2_sbd *sbp, int block_em)
 {
 	if(block_em) {
 		/* verify it starts with lock_ */
-- 
1.6.3.3




More information about the Cluster-devel mailing list