gfs2-utils: master - fsck.gfs2: Make block_mounters static

andyp andyp@fedoraproject.org
Wed Aug 19 13:33:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=22a5586fdee349775822cf64bc7580c1c6e94713
Commit:        22a5586fdee349775822cf64bc7580c1c6e94713
Parent:        16e8ab95f9db8dd2ab3c9e0b5c5b062c62c2dcd8
Author:        Andrew Price <andy@andrewprice.me.uk>
AuthorDate:    Wed Aug 19 09:24:34 2009 +0100
Committer:     Andrew Price <andy@andrewprice.me.uk>
CommitterDate: Wed Aug 19 14:28:45 2009 +0100

fsck.gfs2: Make block_mounters static

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

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
Acked-by: Bob Peterson <rpeterso@redhat.com>
---
 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_ */



More information about the Cluster-cvs mailing list