aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/bmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r--fs/gfs2/bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index ff4a9175b4e1..bd194f645c52 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -872,7 +872,7 @@ static int trunc_start(struct gfs2_inode *ip, uint64_t size)
872 if (do_div(junk, sdp->sd_jbsize)) 872 if (do_div(junk, sdp->sd_jbsize))
873 error = truncator_journaled(ip, size); 873 error = truncator_journaled(ip, size);
874 } else if (size & (uint64_t)(sdp->sd_sb.sb_bsize - 1)) 874 } else if (size & (uint64_t)(sdp->sd_sb.sb_bsize - 1))
875 error = gfs2_truncator_page(ip, size); 875 error = gfs2_block_truncate_page(ip->i_vnode->i_mapping);
876 876
877 if (!error) { 877 if (!error) {
878 ip->i_di.di_size = size; 878 ip->i_di.di_size = size;