aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir_leaf.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-06-09 14:50:24 +1000
committerNathan Scott <nathans@sgi.com>2006-06-09 14:50:24 +1000
commit8034fff39bb9430d807375ec7a04097efba42cd2 (patch)
treebcc66e93d114764e4c513e9389cd751143c8102a /fs/xfs/xfs_dir_leaf.h
parentff9901c1e7c7be06a99c59cfc3133d2316cbc957 (diff)
downloadkernel_samsung_crespo-8034fff39bb9430d807375ec7a04097efba42cd2.zip
kernel_samsung_crespo-8034fff39bb9430d807375ec7a04097efba42cd2.tar.gz
kernel_samsung_crespo-8034fff39bb9430d807375ec7a04097efba42cd2.tar.bz2
[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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/xfs/xfs_dir_leaf.h b/fs/xfs/xfs_dir_leaf.h
index eb8cd9a..c6979ab 100644
--- a/fs/xfs/xfs_dir_leaf.h
+++ b/fs/xfs/xfs_dir_leaf.h
@@ -68,17 +68,17 @@ struct xfs_trans;
#define XFS_DIR_LEAF_MAPSIZE 3 /* how many freespace slots */
typedef struct xfs_dir_leaf_map { /* RLE map of free bytes */
- __uint16_t base; /* base of free region */
- __uint16_t size; /* run length of free region */
+ __be16 base; /* base of free region */
+ __be16 size; /* run length of free region */
} xfs_dir_leaf_map_t;
typedef struct xfs_dir_leaf_hdr { /* constant-structure header block */
xfs_da_blkinfo_t info; /* block type, links, etc. */
- __uint16_t count; /* count of active leaf_entry's */
- __uint16_t namebytes; /* num bytes of name strings stored */
- __uint16_t firstused; /* first used byte in name area */
- __uint8_t holes; /* != 0 if blk needs compaction */
- __uint8_t pad1;
+ __be16 count; /* count of active leaf_entry's */
+ __be16 namebytes; /* num bytes of name strings stored */
+ __be16 firstused; /* first used byte in name area */
+ __u8 holes; /* != 0 if blk needs compaction */
+ __u8 pad1;
xfs_dir_leaf_map_t freemap[XFS_DIR_LEAF_MAPSIZE];
} xfs_dir_leaf_hdr_t;