diff options
author | Christoph Hellwig <hch@lst.de> | 2006-09-27 20:58:06 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-27 20:58:06 -0400 |
commit | 576039cf3c668d5f8d97dff8a0a5817e8b3a761b (patch) | |
tree | b6d28b6fc2d8fc24759ab8732b9db978b709aa3a /fs/xfs/xfs_btree.h | |
parent | 397b5208d5609e2f01b171a34ab690f325253492 (diff) |
[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( | |||
244 | int level); /* btree block level */ | 244 | int level); /* btree block level */ |
245 | 245 | ||
246 | #define xfs_btree_check_lptr_disk(cur, ptr, level) \ | 246 | #define xfs_btree_check_lptr_disk(cur, ptr, level) \ |
247 | xfs_btree_check_lptr(cur, INT_GET(ptr, ARCH_CONVERT), level) | 247 | xfs_btree_check_lptr(cur, be64_to_cpu(ptr), level) |
248 | 248 | ||
249 | /* | 249 | /* |
250 | * Checking routine: check that short form block header is ok. | 250 | * Checking routine: check that short form block header is ok. |