summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-09-28 10:58:06 +1000
committerTim Shimmin <tes@sgi.com>2006-09-28 10:58:06 +1000
commit576039cf3c668d5f8d97dff8a0a5817e8b3a761b (patch)
treeb6d28b6fc2d8fc24759ab8732b9db978b709aa3a /fs/xfs/xfs_btree.h
parent397b5208d5609e2f01b171a34ab690f325253492 (diff)
downloadlinux-576039cf3c668d5f8d97dff8a0a5817e8b3a761b.tar.bz2
[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.h2
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.