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.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index 0e67a89a9699..b7bdfef82e4e 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -128,6 +128,26 @@ struct gfs2_sb {
128 /* In gfs1, quota and license dinodes followed */ 128 /* In gfs1, quota and license dinodes followed */
129}; 129};
130 130
131struct gfs2_sb_host {
132 struct gfs2_meta_header sb_header;
133
134 __be32 sb_fs_format;
135 __be32 sb_multihost_format;
136 __u32 __pad0; /* Was superblock flags in gfs1 */
137
138 __be32 sb_bsize;
139 __be32 sb_bsize_shift;
140 __u32 __pad1; /* Was journal segment size in gfs1 */
141
142 struct gfs2_inum sb_master_dir; /* Was jindex dinode in gfs1 */
143 struct gfs2_inum __pad2; /* Was rindex dinode in gfs1 */
144 struct gfs2_inum sb_root_dir;
145
146 char sb_lockproto[GFS2_LOCKNAME_LEN];
147 char sb_locktable[GFS2_LOCKNAME_LEN];
148 /* In gfs1, quota and license dinodes followed */
149};
150
131/* 151/*
132 * resource index structure 152 * resource index structure
133 */ 153 */
@@ -450,7 +470,7 @@ struct gfs2_quota_change {
450 470
451extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf); 471extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf);
452extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); 472extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf);
453extern void gfs2_sb_in(struct gfs2_sb *sb, const void *buf); 473extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf);
454extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); 474extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf);
455extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); 475extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf);
456extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, const void *buf); 476extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, const void *buf);