diff options
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r-- | fs/gfs2/bmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index e8e48b690cef..e84e3845a394 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c | |||
@@ -305,11 +305,10 @@ static void find_metapath(struct gfs2_inode *ip, u64 block, | |||
305 | struct metapath *mp) | 305 | struct metapath *mp) |
306 | { | 306 | { |
307 | struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); | 307 | struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); |
308 | u64 b = block; | ||
309 | unsigned int i; | 308 | unsigned int i; |
310 | 309 | ||
311 | for (i = ip->i_height; i--;) | 310 | for (i = ip->i_height; i--;) |
312 | mp->mp_list[i] = do_div(b, sdp->sd_inptrs); | 311 | mp->mp_list[i] = do_div(block, sdp->sd_inptrs); |
313 | 312 | ||
314 | } | 313 | } |
315 | 314 | ||