diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-13 20:45:02 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:00 -0500 |
commit | f50dfaf78c01df3cc2d8819f07d6661915567bae (patch) | |
tree | 23946491603726753015645e8332a3715cd6207d /include | |
parent | 5c6edb576f3800723bb65dbfaff82517089e32d0 (diff) |
[GFS2] split gfs2_sb
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 | 22 |
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 | ||
131 | struct 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 | ||
451 | extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf); | 471 | extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf); |
452 | extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); | 472 | extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf); |
453 | extern void gfs2_sb_in(struct gfs2_sb *sb, const void *buf); | 473 | extern void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf); |
454 | extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); | 474 | extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf); |
455 | extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); | 475 | extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf); |
456 | extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, const void *buf); | 476 | extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, const void *buf); |