diff options
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r-- | fs/gfs2/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index 96dcf050e6c9..14333d81cf7d 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c | |||
@@ -344,7 +344,7 @@ static u64 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) | |||
344 | struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; | 344 | struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; |
345 | 345 | ||
346 | bh_map.b_size = 1 << inode->i_blkbits; | 346 | bh_map.b_size = 1 << inode->i_blkbits; |
347 | error = gfs2_block_map(inode, lbn, 0, &bh_map); | 347 | error = gfs2_block_map(inode, lbn, &bh_map, 0); |
348 | if (error || !bh_map.b_blocknr) | 348 | if (error || !bh_map.b_blocknr) |
349 | printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, | 349 | printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, |
350 | (unsigned long long)bh_map.b_blocknr, lbn); | 350 | (unsigned long long)bh_map.b_blocknr, lbn); |