diff options
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r-- | fs/gfs2/ondisk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index 2d1682ded4b7..2c50fa0261f5 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -15,6 +15,8 @@ | |||
15 | 15 | ||
16 | #include "gfs2.h" | 16 | #include "gfs2.h" |
17 | #include <linux/gfs2_ondisk.h> | 17 | #include <linux/gfs2_ondisk.h> |
18 | #include <linux/lm_interface.h> | ||
19 | #include "incore.h" | ||
18 | 20 | ||
19 | #define pv(struct, member, fmt) printk(KERN_INFO " "#member" = "fmt"\n", \ | 21 | #define pv(struct, member, fmt) printk(KERN_INFO " "#member" = "fmt"\n", \ |
20 | struct->member); | 22 | struct->member); |
@@ -187,8 +189,9 @@ void gfs2_dinode_in(struct gfs2_dinode_host *di, const void *buf) | |||
187 | 189 | ||
188 | } | 190 | } |
189 | 191 | ||
190 | void gfs2_dinode_out(const struct gfs2_dinode_host *di, void *buf) | 192 | void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) |
191 | { | 193 | { |
194 | const struct gfs2_dinode_host *di = &ip->i_di; | ||
192 | struct gfs2_dinode *str = buf; | 195 | struct gfs2_dinode *str = buf; |
193 | 196 | ||
194 | gfs2_meta_header_out(&di->di_header, buf); | 197 | gfs2_meta_header_out(&di->di_header, buf); |