diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-17 17:29:25 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-17 17:29:25 +1100 |
commit | 3b244aa81ecb06859e0c16abf4c26404c1d86591 (patch) | |
tree | 35a78ae82d8a183c72da8f579479bc2caa6d3bc0 /fs/xfs/xfs_inode.c | |
parent | c0f054e7a44b4bbed8e16dd459f33df63dad98ef (diff) | |
download | op-kernel-dev-3b244aa81ecb06859e0c16abf4c26404c1d86591.zip op-kernel-dev-3b244aa81ecb06859e0c16abf4c26404c1d86591.tar.gz |
[XFS] endianess annotations for xfs_attr_shortform_t
SGI-PV: 943272
SGI-Modid: xfs-linux-melb:xfs-kern:25501a
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index b1e9570..7d0ded0 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -506,7 +506,7 @@ xfs_iformat( switch (INT_GET(dip->di_core.di_aformat, ARCH_CONVERT)) { case XFS_DINODE_FMT_LOCAL: atp = (xfs_attr_shortform_t *)XFS_DFORK_APTR(dip); - size = (int)INT_GET(atp->hdr.totsize, ARCH_CONVERT); + size = be16_to_cpu(atp->hdr.totsize); error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size); break; case XFS_DINODE_FMT_EXTENTS: |