aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 08:10:19 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2014-02-10 07:29:16 -0500
commitc2b0b30eddf6be6866bd1d225c331b37c5dc5b02 (patch)
tree7db0b1304a5d61b0411f5b447415d7c754c48826 /fs/gfs2
parent44aaada9d144a46d3de48ad81093f69d17fae96f (diff)
GFS2: Mark functions as static in gfs2/rgrp.c
Mark functions as static in gfs2/rgrp.c because they are not used outside this file. This eliminates the following warning in gfs2/rgrp.c: fs/gfs2/rgrp.c:1092:5: warning: no previous prototype for ‘gfs2_rgrp_bh_get’ [-Wmissing-prototypes] fs/gfs2/rgrp.c:1157:5: warning: no previous prototype for ‘update_rgrp_lvb’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/rgrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index c13e4c5e9967..f58574643d07 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -1102,7 +1102,7 @@ static u32 count_unlinked(struct gfs2_rgrpd *rgd)
1102 * Returns: errno 1102 * Returns: errno
1103 */ 1103 */
1104 1104
1105int gfs2_rgrp_bh_get(struct gfs2_rgrpd *rgd) 1105static int gfs2_rgrp_bh_get(struct gfs2_rgrpd *rgd)
1106{ 1106{
1107 struct gfs2_sbd *sdp = rgd->rd_sbd; 1107 struct gfs2_sbd *sdp = rgd->rd_sbd;
1108 struct gfs2_glock *gl = rgd->rd_gl; 1108 struct gfs2_glock *gl = rgd->rd_gl;
@@ -1169,7 +1169,7 @@ fail:
1169 return error; 1169 return error;
1170} 1170}
1171 1171
1172int update_rgrp_lvb(struct gfs2_rgrpd *rgd) 1172static int update_rgrp_lvb(struct gfs2_rgrpd *rgd)
1173{ 1173{
1174 u32 rl_flags; 1174 u32 rl_flags;
1175 1175