aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-09-27 20:58:06 -0400
committerTim Shimmin <tes@sgi.com>2006-09-27 20:58:06 -0400
commit576039cf3c668d5f8d97dff8a0a5817e8b3a761b (patch)
treeb6d28b6fc2d8fc24759ab8732b9db978b709aa3a /fs/xfs/xfs_btree.h
parent397b5208d5609e2f01b171a34ab690f325253492 (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.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(
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.