[Cluster-devel] [PATCH 4/4] fsck.gfs2: Make block_mounters static
Bob Peterson
rpeterso at redhat.com
Wed Aug 19 12:49:18 UTC 2009
----- "Andrew Price" <andy at andrewprice.me.uk> wrote:
| 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
Hi,
ACKed by Bob Peterson <rpeterso at redhat.com>
Regards,
Bob Peterson
Red Hat File Systems
More information about the Cluster-devel
mailing list