diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-13 22:51:24 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:29 -0500 |
commit | 1e81c4c3e0f55c95b6278a827262b80debd0dc7e (patch) | |
tree | 0e56f7aac8d2e27a783bd5a99dd5f3e5023b9aaf /include/linux/gfs2_ondisk.h | |
parent | e928a76f959e89884f6186bb6f846c533847d5df (diff) |
[GFS2] split and annotate gfs_rindex
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
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__ */ |