Diff for /xfs-linux/xfs_bmap.c between versions 1.374 and 1.375

version 1.374, 2007/08/02 16:04:40 version 1.375, 2007/08/02 16:07:02
Line 3492  xfs_bmap_extents_to_btree( Line 3492  xfs_bmap_extents_to_btree(
         for (cnt = i = 0; i < nextents; i++) {          for (cnt = i = 0; i < nextents; i++) {
                 ep = xfs_iext_get_ext(ifp, i);                  ep = xfs_iext_get_ext(ifp, i);
                 if (!ISNULLSTARTBLOCK(xfs_bmbt_get_startblock(ep))) {                  if (!ISNULLSTARTBLOCK(xfs_bmbt_get_startblock(ep))) {
                         arp->l0 = INT_GET(ep->l0, ARCH_CONVERT);                          arp->l0 = cpu_to_be64(ep->l0);
                         arp->l1 = INT_GET(ep->l1, ARCH_CONVERT);                          arp->l1 = cpu_to_be64(ep->l1);
                         arp++; cnt++;                          arp++; cnt++;
                 }                  }
         }          }
Line 4566  xfs_bmap_read_extents( Line 4566  xfs_bmap_read_extents(
                 start = i;                  start = i;
                 for (j = 0; j < num_recs; j++, i++, frp++) {                  for (j = 0; j < num_recs; j++, i++, frp++) {
                         xfs_bmbt_rec_host_t *trp = xfs_iext_get_ext(ifp, i);                          xfs_bmbt_rec_host_t *trp = xfs_iext_get_ext(ifp, i);
                         trp->l0 = INT_GET(frp->l0, ARCH_CONVERT);                          trp->l0 = be64_to_cpu(frp->l0);
                         trp->l1 = INT_GET(frp->l1, ARCH_CONVERT);                          trp->l1 = be64_to_cpu(frp->l1);
                 }                  }
                 if (exntf == XFS_EXTFMT_NOSTATE) {                  if (exntf == XFS_EXTFMT_NOSTATE) {
                         /*                          /*

Removed from v.1.374  
changed lines
  Added in v.1.375


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>