Loading fs/gfs2/lops.c +4 −5 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ static void buf_lo_before_commit(struct gfs2_sbd *sdp) unsigned n; __be64 *ptr; offset += (sizeof(__be64) - 1); offset += sizeof(__be64) - 1; offset &= ~(sizeof(__be64) - 1); limit = (sdp->sd_sb.sb_bsize - offset)/sizeof(__be64); /* for 4k blocks, limit = 503 */ Loading Loading @@ -248,8 +248,7 @@ static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); if (error) { gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); return; } if (pass != 1) Loading fs/gfs2/meta_io.c +2 −3 Original line number Diff line number Diff line Loading @@ -460,11 +460,10 @@ void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, bd->bd_gl = gl; INIT_LIST_HEAD(&bd->bd_list_tr); if (meta) { if (meta) lops_init_le(&bd->bd_le, &gfs2_buf_lops); } else { else lops_init_le(&bd->bd_le, &gfs2_databuf_lops); } bh->b_private = bd; if (meta) Loading Loading
fs/gfs2/lops.c +4 −5 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ static void buf_lo_before_commit(struct gfs2_sbd *sdp) unsigned n; __be64 *ptr; offset += (sizeof(__be64) - 1); offset += sizeof(__be64) - 1; offset &= ~(sizeof(__be64) - 1); limit = (sdp->sd_sb.sb_bsize - offset)/sizeof(__be64); /* for 4k blocks, limit = 503 */ Loading Loading @@ -248,8 +248,7 @@ static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); if (error) { gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); return; } if (pass != 1) Loading
fs/gfs2/meta_io.c +2 −3 Original line number Diff line number Diff line Loading @@ -460,11 +460,10 @@ void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, bd->bd_gl = gl; INIT_LIST_HEAD(&bd->bd_list_tr); if (meta) { if (meta) lops_init_le(&bd->bd_le, &gfs2_buf_lops); } else { else lops_init_le(&bd->bd_le, &gfs2_databuf_lops); } bh->b_private = bd; if (meta) Loading