diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 13:55:48 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 13:55:48 -0400 |
commit | c26687113aea9a11c6f23ddf668f1fe43eca4ce7 (patch) | |
tree | e5cea81468e2b10e5c379a7c11fd56640d9c5c56 /fs/gfs2/bmap.c | |
parent | cd915493fce912f1bd838ee1250737ecf33b8fae (diff) |
[GFS2] Remove a cast, tidy gfs2_inode_attr_in
The remains of the changes for Jan Engelhardt's third email. Remove
a cast and tidy up gfs2_inode_attr_in.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r-- | fs/gfs2/bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index a97ad74d880c..0f9567fe5c8b 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c | |||
@@ -344,7 +344,7 @@ static void find_metapath(struct gfs2_inode *ip, u64 block, | |||
344 | unsigned int i; | 344 | unsigned int i; |
345 | 345 | ||
346 | for (i = ip->i_di.di_height; i--;) | 346 | for (i = ip->i_di.di_height; i--;) |
347 | mp->mp_list[i] = (__u16)do_div(b, sdp->sd_inptrs); | 347 | mp->mp_list[i] = do_div(b, sdp->sd_inptrs); |
348 | 348 | ||
349 | } | 349 | } |
350 | 350 | ||