diff options
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r-- | fs/gfs2/ondisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index 2c50fa0261f5..edf87567bb2b 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -155,8 +155,9 @@ void gfs2_quota_in(struct gfs2_quota_host *qu, const void *buf) | |||
155 | qu->qu_value = be64_to_cpu(str->qu_value); | 155 | qu->qu_value = be64_to_cpu(str->qu_value); |
156 | } | 156 | } |
157 | 157 | ||
158 | void gfs2_dinode_in(struct gfs2_dinode_host *di, const void *buf) | 158 | void gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) |
159 | { | 159 | { |
160 | struct gfs2_dinode_host *di = &ip->i_di; | ||
160 | const struct gfs2_dinode *str = buf; | 161 | const struct gfs2_dinode *str = buf; |
161 | 162 | ||
162 | gfs2_meta_header_in(&di->di_header, buf); | 163 | gfs2_meta_header_in(&di->di_header, buf); |
@@ -186,7 +187,6 @@ void gfs2_dinode_in(struct gfs2_dinode_host *di, const void *buf) | |||
186 | di->di_entries = be32_to_cpu(str->di_entries); | 187 | di->di_entries = be32_to_cpu(str->di_entries); |
187 | 188 | ||
188 | di->di_eattr = be64_to_cpu(str->di_eattr); | 189 | di->di_eattr = be64_to_cpu(str->di_eattr); |
189 | |||
190 | } | 190 | } |
191 | 191 | ||
192 | void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) | 192 | void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) |