diff options
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 07655a75561..f8f6d4b56a0 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c | |||
@@ -518,7 +518,7 @@ static void databuf_lo_before_commit(struct gfs2_sbd *sdp) | |||
518 | unsigned int num, n; | 518 | unsigned int num, n; |
519 | __be64 *ptr = NULL; | 519 | __be64 *ptr = NULL; |
520 | 520 | ||
521 | offset += (2*sizeof(__be64) - 1); | 521 | offset += 2*sizeof(__be64) - 1; |
522 | offset &= ~(2*sizeof(__be64) - 1); | 522 | offset &= ~(2*sizeof(__be64) - 1); |
523 | limit = (sdp->sd_sb.sb_bsize - offset)/sizeof(__be64); | 523 | limit = (sdp->sd_sb.sb_bsize - offset)/sizeof(__be64); |
524 | 524 | ||