summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir_leaf.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-06-09 14:50:37 +1000
committerNathan Scott <nathans@sgi.com>2006-06-09 14:50:37 +1000
commit1d8daf06f67c8920a640eb61b30c3176ecc52405 (patch)
treeb5ee131d524177d05d7f5cacdfd662f65246ca7c /fs/xfs/xfs_dir_leaf.h
parent8034fff39bb9430d807375ec7a04097efba42cd2 (diff)
downloadlinux-1d8daf06f67c8920a640eb61b30c3176ecc52405.tar.bz2
[XFS] endianess annotations for xfs_dir_leaf_entry_t
SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25808a 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dir_leaf.h b/fs/xfs/xfs_dir_leaf.h
index c6979ab829cb..7ca5845195d5 100644
--- a/fs/xfs/xfs_dir_leaf.h
+++ b/fs/xfs/xfs_dir_leaf.h
@@ -83,10 +83,10 @@ typedef struct xfs_dir_leaf_hdr { /* constant-structure header block */
} xfs_dir_leaf_hdr_t;
typedef struct xfs_dir_leaf_entry { /* sorted on key, not name */
- xfs_dahash_t hashval; /* hash value of name */
- __uint16_t nameidx; /* index into buffer of name */
- __uint8_t namelen; /* length of name string */
- __uint8_t pad2;
+ __be32 hashval; /* hash value of name */
+ __be16 nameidx; /* index into buffer of name */
+ __u8 namelen; /* length of name string */
+ __u8 pad2;
} xfs_dir_leaf_entry_t;
typedef struct xfs_dir_leaf_name {