[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>
This commit is contained in:
Al Viro 2006-10-13 21:02:41 -04:00 committed by Steven Whitehouse
parent f50dfaf78c
commit bc558c87bb
1 changed files with 4 additions and 7 deletions

View File

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