From 32e7adb280bdbcc419ec1d341019f3b866ace9cc Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Mon, 2 Oct 2006 14:20:43 -0400 Subject: [PATCH] --- yaml --- r: 38884 b: refs/heads/master c: 409e185d2370356ac2e4c7160e002ac5340b6709 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/ops_inode.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c22d1329102c..80a2471ad6ec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 48516ced21e83a755ebae3d1ed03f1731befc391 +refs/heads/master: 409e185d2370356ac2e4c7160e002ac5340b6709 diff --git a/trunk/fs/gfs2/ops_inode.c b/trunk/fs/gfs2/ops_inode.c index 57af0192b241..82432d8f7139 100644 --- a/trunk/fs/gfs2/ops_inode.c +++ b/trunk/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); }