diff options
author | Christoph Hellwig <hch@lst.de> | 2006-09-28 10:58:06 +1000 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-28 10:58:06 +1000 |
commit | 576039cf3c668d5f8d97dff8a0a5817e8b3a761b (patch) | |
tree | b6d28b6fc2d8fc24759ab8732b9db978b709aa3a /fs/xfs/xfs_btree.h | |
parent | 397b5208d5609e2f01b171a34ab690f325253492 (diff) | |
download | linux-576039cf3c668d5f8d97dff8a0a5817e8b3a761b.tar.gz linux-576039cf3c668d5f8d97dff8a0a5817e8b3a761b.tar.bz2 linux-576039cf3c668d5f8d97dff8a0a5817e8b3a761b.zip |
[XFS] endianess annotate XFS_BMAP_BROOT_PTR_ADDR Make sure it returns a
__be64 and let the callers use the proper macros.
SGI-PV: 954580
SGI-Modid: xfs-linux-melb:xfs-kern:26560a
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_btree.h')
-rw-r--r-- | fs/xfs/xfs_btree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_btree.h b/fs/xfs/xfs_btree.h index 8bbcfeba1a9e..892b06c54263 100644 --- a/fs/xfs/xfs_btree.h +++ b/fs/xfs/xfs_btree.h @@ -244,7 +244,7 @@ xfs_btree_check_lptr( int level); /* btree block level */ #define xfs_btree_check_lptr_disk(cur, ptr, level) \ - xfs_btree_check_lptr(cur, INT_GET(ptr, ARCH_CONVERT), level) + xfs_btree_check_lptr(cur, be64_to_cpu(ptr), level) /* * Checking routine: check that short form block header is ok. |