aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r--include/linux/gfs2_ondisk.h14
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
171struct 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 {
498extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf); 506extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf);
499extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); 507extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf);
500extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); 508extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf);
501extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); 509extern void gfs2_rindex_in(struct gfs2_rindex_host *ri, const void *buf);
502extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); 510extern void gfs2_rindex_out(const struct gfs2_rindex_host *ri, void *buf);
503extern void gfs2_rgrp_in(struct gfs2_rgrp_host *rg, const void *buf); 511extern void gfs2_rgrp_in(struct gfs2_rgrp_host *rg, const void *buf);
504extern void gfs2_rgrp_out(const struct gfs2_rgrp_host *rg, void *buf); 512extern void gfs2_rgrp_out(const struct gfs2_rgrp_host *rg, void *buf);
505extern void gfs2_quota_in(struct gfs2_quota *qu, const void *buf); 513extern 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
520extern void gfs2_rindex_print(const struct gfs2_rindex *ri); 528extern void gfs2_rindex_print(const struct gfs2_rindex_host *ri);
521extern void gfs2_dinode_print(const struct gfs2_dinode_host *di); 529extern void gfs2_dinode_print(const struct gfs2_dinode_host *di);
522 530
523#endif /* __KERNEL__ */ 531#endif /* __KERNEL__ */