diff options
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r-- | include/linux/gfs2_ondisk.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index 76eb9e1bb773..7dd5e4c18a66 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -168,6 +168,14 @@ struct gfs2_rindex { | |||
168 | __u8 ri_reserved[64]; | 168 | __u8 ri_reserved[64]; |
169 | }; | 169 | }; |
170 | 170 | ||
171 | struct gfs2_rindex_host { | ||
172 | __u64 ri_addr; /* grp block disk address */ | ||
173 | __u64 ri_data0; /* first data location */ | ||
174 | __u32 ri_length; /* length of rgrp header in fs blocks */ | ||
175 | __u32 ri_data; /* num of data blocks in rgrp */ | ||
176 | __u32 ri_bitbytes; /* number of bytes in data bitmaps */ | ||
177 | }; | ||
178 | |||
171 | /* | 179 | /* |
172 | * resource group header structure | 180 | * resource group header structure |
173 | */ | 181 | */ |
@@ -498,8 +506,8 @@ struct gfs2_quota_change { | |||
498 | extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf); | 506 | extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf); |
499 | extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); | 507 | extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); |
500 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); | 508 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); |
501 | extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); | 509 | extern void gfs2_rindex_in(struct gfs2_rindex_host *ri, const void *buf); |
502 | extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); | 510 | extern void gfs2_rindex_out(const struct gfs2_rindex_host *ri, void *buf); |
503 | extern void gfs2_rgrp_in(struct gfs2_rgrp_host *rg, const void *buf); | 511 | extern void gfs2_rgrp_in(struct gfs2_rgrp_host *rg, const void *buf); |
504 | extern void gfs2_rgrp_out(const struct gfs2_rgrp_host *rg, void *buf); | 512 | extern void gfs2_rgrp_out(const struct gfs2_rgrp_host *rg, void *buf); |
505 | extern void gfs2_quota_in(struct gfs2_quota *qu, const void *buf); | 513 | extern void gfs2_quota_in(struct gfs2_quota *qu, const void *buf); |
@@ -517,7 +525,7 @@ extern void gfs2_quota_change_in(struct gfs2_quota_change *qc, const void *buf); | |||
517 | 525 | ||
518 | /* Printing functions */ | 526 | /* Printing functions */ |
519 | 527 | ||
520 | extern void gfs2_rindex_print(const struct gfs2_rindex *ri); | 528 | extern void gfs2_rindex_print(const struct gfs2_rindex_host *ri); |
521 | extern void gfs2_dinode_print(const struct gfs2_dinode_host *di); | 529 | extern void gfs2_dinode_print(const struct gfs2_dinode_host *di); |
522 | 530 | ||
523 | #endif /* __KERNEL__ */ | 531 | #endif /* __KERNEL__ */ |