[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>
This commit is contained in:
Steven Whitehouse
2006-09-04 13:55:48 -04:00
parent cd915493fc
commit c26687113a
2 changed files with 15 additions and 14 deletions

View File

@ -344,7 +344,7 @@ static void find_metapath(struct gfs2_inode *ip, u64 block,
unsigned int i;
for (i = ip->i_di.di_height; i--;)
mp->mp_list[i] = (__u16)do_div(b, sdp->sd_inptrs);
mp->mp_list[i] = do_div(b, sdp->sd_inptrs);
}