From: Nathan Scott Date: Wed, 26 Oct 2005 03:57:37 +0000 (+0000) Subject: Fix an endian-related regression in the xfs_db frag command. X-Git-Tag: v2.8.0~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b785c7018cc9bf69efd2a131565d8f60646420;p=thirdparty%2Fxfsprogs-dev.git Fix an endian-related regression in the xfs_db frag command. Merge of master-melb:xfs-cmds:24209a by kenmcd. --- diff --git a/db/frag.c b/db/frag.c index 47a2614e7..cc112b755 100644 --- a/db/frag.c +++ b/db/frag.c @@ -294,7 +294,7 @@ process_exinode( xfs_bmbt_rec_32_t *rp; rp = (xfs_bmbt_rec_32_t *)XFS_DFORK_PTR(dip, whichfork); - process_bmbt_reclist(rp, XFS_DFORK_NEXTENTS(dip, whichfork), extmapp); + process_bmbt_reclist(rp, XFS_DFORK_NEXTENTS_HOST(dip, whichfork), extmapp); } static void @@ -305,7 +305,7 @@ process_fork( extmap_t *extmap; int nex; - nex = XFS_DFORK_NEXTENTS(dip, whichfork); + nex = XFS_DFORK_NEXTENTS_HOST(dip, whichfork); if (!nex) return; extmap = extmap_alloc(nex);