summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/bmap.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-04 13:55:48 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-04 13:55:48 -0400
commitc26687113aea9a11c6f23ddf668f1fe43eca4ce7 (patch)
treee5cea81468e2b10e5c379a7c11fd56640d9c5c56 /fs/gfs2/bmap.c
parentcd915493fce912f1bd838ee1250737ecf33b8fae (diff)
downloadop-kernel-dev-c26687113aea9a11c6f23ddf668f1fe43eca4ce7.zip
op-kernel-dev-c26687113aea9a11c6f23ddf668f1fe43eca4ce7.tar.gz
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index a97ad74..0f9567f 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,
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);
}
OpenPOWER on IntegriCloud