diff options
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 5a5e035e5d38..be2ca4d67b53 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -1601,10 +1601,10 @@ xfs_itruncate_finish( | |||
1601 | * in this file with garbage in them once recovery | 1601 | * in this file with garbage in them once recovery |
1602 | * runs. | 1602 | * runs. |
1603 | */ | 1603 | */ |
1604 | XFS_BMAP_INIT(&free_list, &first_block); | 1604 | xfs_bmap_init(&free_list, &first_block); |
1605 | error = xfs_bunmapi(ntp, ip, | 1605 | error = xfs_bunmapi(ntp, ip, |
1606 | first_unmap_block, unmap_len, | 1606 | first_unmap_block, unmap_len, |
1607 | XFS_BMAPI_AFLAG(fork) | | 1607 | xfs_bmapi_aflag(fork) | |
1608 | (sync ? 0 : XFS_BMAPI_ASYNC), | 1608 | (sync ? 0 : XFS_BMAPI_ASYNC), |
1609 | XFS_ITRUNC_MAX_EXTENTS, | 1609 | XFS_ITRUNC_MAX_EXTENTS, |
1610 | &first_block, &free_list, | 1610 | &first_block, &free_list, |
@@ -2557,7 +2557,7 @@ xfs_iextents_copy( | |||
2557 | for (i = 0; i < nrecs; i++) { | 2557 | for (i = 0; i < nrecs; i++) { |
2558 | xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, i); | 2558 | xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, i); |
2559 | start_block = xfs_bmbt_get_startblock(ep); | 2559 | start_block = xfs_bmbt_get_startblock(ep); |
2560 | if (ISNULLSTARTBLOCK(start_block)) { | 2560 | if (isnullstartblock(start_block)) { |
2561 | /* | 2561 | /* |
2562 | * It's a delayed allocation extent, so skip it. | 2562 | * It's a delayed allocation extent, so skip it. |
2563 | */ | 2563 | */ |