aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-05-18 16:23:03 -0400
committerBob Peterson <rpeterso@redhat.com>2015-05-18 16:23:03 -0400
commita3e3213676d8208328ef9f79936f94e583c0ec90 (patch)
tree27019c3b51f69d785134192e6c8e91f48ee84699 /fs/gfs2/rgrp.c
parent1272574bf94874a644ea82fad321034c15b157ac (diff)
gfs2: fix shadow warning in gfs2_rbm_find()
bi was already declared and initialized globally in gfs2_rbm_find() Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r--fs/gfs2/rgrp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 900e515bbdf6..cd53d6e9e44e 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -1711,10 +1711,8 @@ static int gfs2_rbm_find(struct gfs2_rbm *rbm, u8 state, u32 *minext,
1711 return ret; 1711 return ret;
1712 1712
1713bitmap_full: /* Mark bitmap as full and fall through */ 1713bitmap_full: /* Mark bitmap as full and fall through */
1714 if ((state == GFS2_BLKST_FREE) && initial_offset == 0) { 1714 if ((state == GFS2_BLKST_FREE) && initial_offset == 0)
1715 struct gfs2_bitmap *bi = rbm_bi(rbm);
1716 set_bit(GBF_FULL, &bi->bi_flags); 1715 set_bit(GBF_FULL, &bi->bi_flags);
1717 }
1718 1716
1719next_bitmap: /* Find next bitmap in the rgrp */ 1717next_bitmap: /* Find next bitmap in the rgrp */
1720 rbm->offset = 0; 1718 rbm->offset = 0;