aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-10-13 21:02:41 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:33:04 -0500
commitbc558c87bb7e50c4f728d32684a9f4f4c73ebde3 (patch)
tree03dfb878a39eb052877e1467b5d0fde4dc7d0452 /include/linux/gfs2_ondisk.h
parentf50dfaf78c01df3cc2d8819f07d6661915567bae (diff)
[GFS2] fields of gfs2_sb_host are host-endian
... and several could be killed, but that's another story. Annotate scalar ones, kill completely unused. 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.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index b7bdfef82e4e..a5d36cdc46e9 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -131,16 +131,13 @@ struct gfs2_sb {
131struct gfs2_sb_host { 131struct gfs2_sb_host {
132 struct gfs2_meta_header sb_header; 132 struct gfs2_meta_header sb_header;
133 133
134 __be32 sb_fs_format; 134 __u32 sb_fs_format;
135 __be32 sb_multihost_format; 135 __u32 sb_multihost_format;
136 __u32 __pad0; /* Was superblock flags in gfs1 */
137 136
138 __be32 sb_bsize; 137 __u32 sb_bsize;
139 __be32 sb_bsize_shift; 138 __u32 sb_bsize_shift;
140 __u32 __pad1; /* Was journal segment size in gfs1 */
141 139
142 struct gfs2_inum sb_master_dir; /* Was jindex dinode in gfs1 */ 140 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; 141 struct gfs2_inum sb_root_dir;
145 142
146 char sb_lockproto[GFS2_LOCKNAME_LEN]; 143 char sb_lockproto[GFS2_LOCKNAME_LEN];