diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/ops_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index 57af0192b241..82432d8f7139 100644 --- 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) | |||
411 | dent = (struct gfs2_dirent *)((char*)dent + GFS2_DIRENT_SIZE(1)); | 411 | dent = (struct gfs2_dirent *)((char*)dent + GFS2_DIRENT_SIZE(1)); |
412 | gfs2_qstr2dirent(&str, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), dent); | 412 | gfs2_qstr2dirent(&str, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), dent); |
413 | 413 | ||
414 | gfs2_inum_out(&dip->i_num, (char *) &dent->de_inum); | 414 | gfs2_inum_out(&dip->i_num, &dent->de_inum); |
415 | dent->de_type = DT_DIR; | 415 | dent->de_type = DT_DIR; |
416 | 416 | ||
417 | gfs2_dinode_out(&ip->i_di, (char *)di); | 417 | gfs2_dinode_out(&ip->i_di, di); |
418 | 418 | ||
419 | brelse(dibh); | 419 | brelse(dibh); |
420 | } | 420 | } |