diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-13 21:07:22 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:07 -0500 |
commit | 68826664d12827d7a732192e2f00ba46fb899414 (patch) | |
tree | 025367718814980b5463ac61dec134888496906f /include | |
parent | bc558c87bb7e50c4f728d32684a9f4f4c73ebde3 (diff) |
[GFS2] split and annotate gfs2_rgrp
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gfs2_ondisk.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index a5d36cdc46e9..e4ca6e4176bb 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -193,6 +193,15 @@ struct gfs2_rgrp { | |||
193 | __u8 rg_reserved[80]; /* Several fields from gfs1 now reserved */ | 193 | __u8 rg_reserved[80]; /* Several fields from gfs1 now reserved */ |
194 | }; | 194 | }; |
195 | 195 | ||
196 | struct gfs2_rgrp_host { | ||
197 | struct gfs2_meta_header rg_header; | ||
198 | |||
199 | __u32 rg_flags; | ||
200 | __u32 rg_free; | ||
201 | __u32 rg_dinodes; | ||
202 | __u64 rg_igeneration; | ||
203 | }; | ||
204 | |||
196 | /* | 205 | /* |
197 | * quota structure | 206 | * quota structure |
198 | */ | 207 | */ |
@@ -470,8 +479,8 @@ extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); | |||
470 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); | 479 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); |
471 | extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); | 480 | extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); |
472 | extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); | 481 | extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); |
473 | extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, const void *buf); | 482 | extern void gfs2_rgrp_in(struct gfs2_rgrp_host *rg, const void *buf); |
474 | extern void gfs2_rgrp_out(const struct gfs2_rgrp *rg, void *buf); | 483 | extern void gfs2_rgrp_out(const struct gfs2_rgrp_host *rg, void *buf); |
475 | extern void gfs2_quota_in(struct gfs2_quota *qu, const void *buf); | 484 | extern void gfs2_quota_in(struct gfs2_quota *qu, const void *buf); |
476 | extern void gfs2_quota_out(const struct gfs2_quota *qu, void *buf); | 485 | extern void gfs2_quota_out(const struct gfs2_quota *qu, void *buf); |
477 | extern void gfs2_dinode_in(struct gfs2_dinode_host *di, const void *buf); | 486 | extern void gfs2_dinode_in(struct gfs2_dinode_host *di, const void *buf); |