diff options
author | Christoph Hellwig <hch@lst.de> | 2006-09-27 20:57:42 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-27 20:57:42 -0400 |
commit | b113bcb83efb411f3cc6c7692fbf933ed01b67d8 (patch) | |
tree | 8b414cbdc2f8fdffbaa7a93e8e11d0d1679a5bc5 /fs/xfs/xfs_bmap.c | |
parent | c38e5e84dbbeda9a92ea878ec9f6255b519a69e7 (diff) |
[XFS] add xfs_btree_check_lptr_disk variant which handles endian
conversion
SGI-PV: 954580
SGI-Modid: xfs-linux-melb:xfs-kern:26558a
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_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index bf46fae303af..b1efb906dbbd 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -3013,7 +3013,7 @@ xfs_bmap_btree_to_extents( | |||
3013 | pp = XFS_BMAP_BROOT_PTR_ADDR(rblock, 1, ifp->if_broot_bytes); | 3013 | pp = XFS_BMAP_BROOT_PTR_ADDR(rblock, 1, ifp->if_broot_bytes); |
3014 | *logflagsp = 0; | 3014 | *logflagsp = 0; |
3015 | #ifdef DEBUG | 3015 | #ifdef DEBUG |
3016 | if ((error = xfs_btree_check_lptr(cur, INT_GET(*pp, ARCH_CONVERT), 1))) | 3016 | if ((error = xfs_btree_check_lptr_disk(cur, *pp, 1))) |
3017 | return error; | 3017 | return error; |
3018 | #endif | 3018 | #endif |
3019 | cbno = INT_GET(*pp, ARCH_CONVERT); | 3019 | cbno = INT_GET(*pp, ARCH_CONVERT); |