aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 323ecd76a12c..e7ae08d1df48 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1614,10 +1614,10 @@ xfs_itruncate_finish(
1614 * in this file with garbage in them once recovery 1614 * in this file with garbage in them once recovery
1615 * runs. 1615 * runs.
1616 */ 1616 */
1617 XFS_BMAP_INIT(&free_list, &first_block); 1617 xfs_bmap_init(&free_list, &first_block);
1618 error = xfs_bunmapi(ntp, ip, 1618 error = xfs_bunmapi(ntp, ip,
1619 first_unmap_block, unmap_len, 1619 first_unmap_block, unmap_len,
1620 XFS_BMAPI_AFLAG(fork) | 1620 xfs_bmapi_aflag(fork) |
1621 (sync ? 0 : XFS_BMAPI_ASYNC), 1621 (sync ? 0 : XFS_BMAPI_ASYNC),
1622 XFS_ITRUNC_MAX_EXTENTS, 1622 XFS_ITRUNC_MAX_EXTENTS,
1623 &first_block, &free_list, 1623 &first_block, &free_list,
@@ -2570,7 +2570,7 @@ xfs_iextents_copy(
2570 for (i = 0; i < nrecs; i++) { 2570 for (i = 0; i < nrecs; i++) {
2571 xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, i); 2571 xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, i);
2572 start_block = xfs_bmbt_get_startblock(ep); 2572 start_block = xfs_bmbt_get_startblock(ep);
2573 if (ISNULLSTARTBLOCK(start_block)) { 2573 if (isnullstartblock(start_block)) {
2574 /* 2574 /*
2575 * It's a delayed allocation extent, so skip it. 2575 * It's a delayed allocation extent, so skip it.
2576 */ 2576 */