[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:
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user