summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr_leaf.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-17 17:29:09 +1100
committerNathan Scott <nathans@sgi.com>2006-03-17 17:29:09 +1100
commit053b5758cbc096a3f718858f4da9341afbc56b7d (patch)
treece1d02f5d419e00f4b65c5fc73934e1f0b9c26a8 /fs/xfs/xfs_attr_leaf.h
parent6b19f2d87da9908acf1e0f48b4e79cf8bc833811 (diff)
downloadblackbird-op-linux-053b5758cbc096a3f718858f4da9341afbc56b7d.tar.gz
blackbird-op-linux-053b5758cbc096a3f718858f4da9341afbc56b7d.zip
[XFS] endianess annotations for xfs_attr_leaf_name_local_t
SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25499a Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr_leaf.h')
-rw-r--r--fs/xfs/xfs_attr_leaf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_attr_leaf.h b/fs/xfs/xfs_attr_leaf.h
index 7fbe4880bb83..ad6f791ec58a 100644
--- a/fs/xfs/xfs_attr_leaf.h
+++ b/fs/xfs/xfs_attr_leaf.h
@@ -96,9 +96,9 @@ typedef struct xfs_attr_leaf_entry { /* sorted on key, not name */
} xfs_attr_leaf_entry_t;
typedef struct xfs_attr_leaf_name_local {
- __uint16_t valuelen; /* number of bytes in value */
- __uint8_t namelen; /* length of name bytes */
- __uint8_t nameval[1]; /* name/value bytes */
+ __be16 valuelen; /* number of bytes in value */
+ __u8 namelen; /* length of name bytes */
+ __u8 nameval[1]; /* name/value bytes */
} xfs_attr_leaf_name_local_t;
typedef struct xfs_attr_leaf_name_remote {
OpenPOWER on IntegriCloud