mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
[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>
This commit is contained in:
parent
c38e5e84db
commit
b113bcb83e
3 changed files with 16 additions and 13 deletions
|
@ -3013,7 +3013,7 @@ xfs_bmap_btree_to_extents(
|
|||
pp = XFS_BMAP_BROOT_PTR_ADDR(rblock, 1, ifp->if_broot_bytes);
|
||||
*logflagsp = 0;
|
||||
#ifdef DEBUG
|
||||
if ((error = xfs_btree_check_lptr(cur, INT_GET(*pp, ARCH_CONVERT), 1)))
|
||||
if ((error = xfs_btree_check_lptr_disk(cur, *pp, 1)))
|
||||
return error;
|
||||
#endif
|
||||
cbno = INT_GET(*pp, ARCH_CONVERT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue