diff options
author | Christoph Hellwig <hch@lst.de> | 2006-06-09 00:50:24 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 00:50:24 -0400 |
commit | 8034fff39bb9430d807375ec7a04097efba42cd2 (patch) | |
tree | bcc66e93d114764e4c513e9389cd751143c8102a /fs/xfs/xfs_dir_leaf.h | |
parent | ff9901c1e7c7be06a99c59cfc3133d2316cbc957 (diff) |
[XFS] endianess annotations for xfs_dir_leaf_hdr_t
SGI-PV: 943272
SGI-Modid: xfs-linux-melb:xfs-kern:25807a
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir_leaf.h')
-rw-r--r-- | fs/xfs/xfs_dir_leaf.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/xfs/xfs_dir_leaf.h b/fs/xfs/xfs_dir_leaf.h index eb8cd9a4667f..c6979ab829cb 100644 --- a/fs/xfs/xfs_dir_leaf.h +++ b/fs/xfs/xfs_dir_leaf.h | |||
@@ -68,17 +68,17 @@ struct xfs_trans; | |||
68 | #define XFS_DIR_LEAF_MAPSIZE 3 /* how many freespace slots */ | 68 | #define XFS_DIR_LEAF_MAPSIZE 3 /* how many freespace slots */ |
69 | 69 | ||
70 | typedef struct xfs_dir_leaf_map { /* RLE map of free bytes */ | 70 | typedef struct xfs_dir_leaf_map { /* RLE map of free bytes */ |
71 | __uint16_t base; /* base of free region */ | 71 | __be16 base; /* base of free region */ |
72 | __uint16_t size; /* run length of free region */ | 72 | __be16 size; /* run length of free region */ |
73 | } xfs_dir_leaf_map_t; | 73 | } xfs_dir_leaf_map_t; |
74 | 74 | ||
75 | typedef struct xfs_dir_leaf_hdr { /* constant-structure header block */ | 75 | typedef struct xfs_dir_leaf_hdr { /* constant-structure header block */ |
76 | xfs_da_blkinfo_t info; /* block type, links, etc. */ | 76 | xfs_da_blkinfo_t info; /* block type, links, etc. */ |
77 | __uint16_t count; /* count of active leaf_entry's */ | 77 | __be16 count; /* count of active leaf_entry's */ |
78 | __uint16_t namebytes; /* num bytes of name strings stored */ | 78 | __be16 namebytes; /* num bytes of name strings stored */ |
79 | __uint16_t firstused; /* first used byte in name area */ | 79 | __be16 firstused; /* first used byte in name area */ |
80 | __uint8_t holes; /* != 0 if blk needs compaction */ | 80 | __u8 holes; /* != 0 if blk needs compaction */ |
81 | __uint8_t pad1; | 81 | __u8 pad1; |
82 | xfs_dir_leaf_map_t freemap[XFS_DIR_LEAF_MAPSIZE]; | 82 | xfs_dir_leaf_map_t freemap[XFS_DIR_LEAF_MAPSIZE]; |
83 | } xfs_dir_leaf_hdr_t; | 83 | } xfs_dir_leaf_hdr_t; |
84 | 84 | ||