aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-10-13 21:57:23 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:33:26 -0500
commite928a76f959e89884f6186bb6f846c533847d5df (patch)
treea1946142a0b82c2b6366ddfe7ab02ff706b0a74c /include/linux/gfs2_ondisk.h
parent2a2c98247b822db8df037a56c27201f9d716ac66 (diff)
[GFS2] split and annotate gfs2_meta_header
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.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index fb69a64c70cd..76eb9e1bb773 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -89,6 +89,12 @@ struct gfs2_meta_header {
89 __be32 __pad1; /* Was incarnation number in gfs1 */ 89 __be32 __pad1; /* Was incarnation number in gfs1 */
90}; 90};
91 91
92struct gfs2_meta_header_host {
93 __u32 mh_magic;
94 __u32 mh_type;
95 __u32 mh_format;
96};
97
92/* 98/*
93 * super-block structure 99 * super-block structure
94 * 100 *
@@ -129,7 +135,7 @@ struct gfs2_sb {
129}; 135};
130 136
131struct gfs2_sb_host { 137struct gfs2_sb_host {
132 struct gfs2_meta_header sb_header; 138 struct gfs2_meta_header_host sb_header;
133 139
134 __u32 sb_fs_format; 140 __u32 sb_fs_format;
135 __u32 sb_multihost_format; 141 __u32 sb_multihost_format;
@@ -194,7 +200,7 @@ struct gfs2_rgrp {
194}; 200};
195 201
196struct gfs2_rgrp_host { 202struct gfs2_rgrp_host {
197 struct gfs2_meta_header rg_header; 203 struct gfs2_meta_header_host rg_header;
198 204
199 __u32 rg_flags; 205 __u32 rg_flags;
200 __u32 rg_free; 206 __u32 rg_free;
@@ -297,7 +303,7 @@ struct gfs2_dinode {
297}; 303};
298 304
299struct gfs2_dinode_host { 305struct gfs2_dinode_host {
300 struct gfs2_meta_header di_header; 306 struct gfs2_meta_header_host di_header;
301 307
302 struct gfs2_inum di_num; 308 struct gfs2_inum di_num;
303 309
@@ -406,7 +412,7 @@ struct gfs2_log_header {
406}; 412};
407 413
408struct gfs2_log_header_host { 414struct gfs2_log_header_host {
409 struct gfs2_meta_header lh_header; 415 struct gfs2_meta_header_host lh_header;
410 416
411 __u64 lh_sequence; /* Sequence number of this transaction */ 417 __u64 lh_sequence; /* Sequence number of this transaction */
412 __u32 lh_flags; /* GFS2_LOG_HEAD_... */ 418 __u32 lh_flags; /* GFS2_LOG_HEAD_... */