aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/file.c')
-rw-r--r--fs/gfs2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c
index 99e2c8cd5eaa..997b326247e2 100644
--- a/fs/gfs2/file.c
+++ b/fs/gfs2/file.c
@@ -1049,7 +1049,7 @@ static long __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t
1049 rblocks += data_blocks ? data_blocks : 1; 1049 rblocks += data_blocks ? data_blocks : 1;
1050 1050
1051 error = gfs2_trans_begin(sdp, rblocks, 1051 error = gfs2_trans_begin(sdp, rblocks,
1052 PAGE_SIZE/sdp->sd_sb.sb_bsize); 1052 PAGE_SIZE >> inode->i_blkbits);
1053 if (error) 1053 if (error)
1054 goto out_trans_fail; 1054 goto out_trans_fail;
1055 1055