summaryrefslogtreecommitdiff
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 {
struct gfs2_sb_host {
struct gfs2_meta_header sb_header;
- __be32 sb_fs_format;
- __be32 sb_multihost_format;
- __u32 __pad0; /* Was superblock flags in gfs1 */
+ __u32 sb_fs_format;
+ __u32 sb_multihost_format;
- __be32 sb_bsize;
- __be32 sb_bsize_shift;
- __u32 __pad1; /* Was journal segment size in gfs1 */
+ __u32 sb_bsize;
+ __u32 sb_bsize_shift;
struct gfs2_inum sb_master_dir; /* Was jindex dinode in gfs1 */
- struct gfs2_inum __pad2; /* Was rindex dinode in gfs1 */
struct gfs2_inum sb_root_dir;
char sb_lockproto[GFS2_LOCKNAME_LEN];