Skip to content

Commit

Permalink
[GFS2] Two redundant casts removed
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Oct 2, 2006
1 parent 48516ce commit 409e185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/gfs2/ops_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,10 @@ static int gfs2_mkdir(struct inode *dir, struct dentry *dentry, int mode)
dent = (struct gfs2_dirent *)((char*)dent + GFS2_DIRENT_SIZE(1));
gfs2_qstr2dirent(&str, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), dent);

gfs2_inum_out(&dip->i_num, (char *) &dent->de_inum);
gfs2_inum_out(&dip->i_num, &dent->de_inum);
dent->de_type = DT_DIR;

gfs2_dinode_out(&ip->i_di, (char *)di);
gfs2_dinode_out(&ip->i_di, di);

brelse(dibh);
}
Expand Down

0 comments on commit 409e185

Please sign in to comment.