aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r--fs/gfs2/rgrp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 2e69e5cda967..9525b176f502 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -233,7 +233,8 @@ static int compute_bitstructs(struct gfs2_rgrpd *rgd)
233 bi->bi_len = bytes; 233 bi->bi_len = bytes;
234 /* other blocks */ 234 /* other blocks */
235 } else { 235 } else {
236 bytes = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header); 236 bytes = sdp->sd_sb.sb_bsize -
237 sizeof(struct gfs2_meta_header);
237 bi->bi_offset = sizeof(struct gfs2_meta_header); 238 bi->bi_offset = sizeof(struct gfs2_meta_header);
238 bi->bi_start = rgd->rd_ri.ri_bitbytes - bytes_left; 239 bi->bi_start = rgd->rd_ri.ri_bitbytes - bytes_left;
239 bi->bi_len = bytes; 240 bi->bi_len = bytes;