diff options
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index d470e5286ecd..191a3df93d67 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -48,7 +48,7 @@ | |||
48 | void gfs2_inode_attr_in(struct gfs2_inode *ip) | 48 | void gfs2_inode_attr_in(struct gfs2_inode *ip) |
49 | { | 49 | { |
50 | struct inode *inode = &ip->i_inode; | 50 | struct inode *inode = &ip->i_inode; |
51 | struct gfs2_dinode *di = &ip->i_di; | 51 | struct gfs2_dinode_host *di = &ip->i_di; |
52 | 52 | ||
53 | inode->i_ino = ip->i_num.no_addr; | 53 | inode->i_ino = ip->i_num.no_addr; |
54 | 54 | ||
@@ -98,7 +98,7 @@ void gfs2_inode_attr_in(struct gfs2_inode *ip) | |||
98 | void gfs2_inode_attr_out(struct gfs2_inode *ip) | 98 | void gfs2_inode_attr_out(struct gfs2_inode *ip) |
99 | { | 99 | { |
100 | struct inode *inode = &ip->i_inode; | 100 | struct inode *inode = &ip->i_inode; |
101 | struct gfs2_dinode *di = &ip->i_di; | 101 | struct gfs2_dinode_host *di = &ip->i_di; |
102 | gfs2_assert_withdraw(GFS2_SB(inode), | 102 | gfs2_assert_withdraw(GFS2_SB(inode), |
103 | (di->di_mode & S_IFMT) == (inode->i_mode & S_IFMT)); | 103 | (di->di_mode & S_IFMT) == (inode->i_mode & S_IFMT)); |
104 | di->di_mode = inode->i_mode; | 104 | di->di_mode = inode->i_mode; |