projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48516ce
)
[GFS2] Two redundant casts removed
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 2 Oct 2006 18:20:43 +0000
(14:20 -0400)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 2 Oct 2006 18:20:43 +0000
(14:20 -0400)
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/ops_inode.c
b/fs/gfs2/ops_inode.c
index 57af0192b24169aa5a7cd51887c51a5bf89f0ef7..82432d8f7139bdba9904d923122dbbdab70eda0e 100644
(file)
--- a/
fs/gfs2/ops_inode.c
+++ b/
fs/gfs2/ops_inode.c
@@
-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);
}