aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_da_btree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r--fs/xfs/xfs_da_btree.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c
index 8988b9051175..47b86f9f69f9 100644
--- a/fs/xfs/xfs_da_btree.c
+++ b/fs/xfs/xfs_da_btree.c
@@ -1655,7 +1655,7 @@ xfs_da_grow_inode(xfs_da_args_t *args, xfs_dablk_t *new_blkno)
1655 XFS_BMAPI_AFLAG(w)|XFS_BMAPI_WRITE|XFS_BMAPI_METADATA| 1655 XFS_BMAPI_AFLAG(w)|XFS_BMAPI_WRITE|XFS_BMAPI_METADATA|
1656 XFS_BMAPI_CONTIG, 1656 XFS_BMAPI_CONTIG,
1657 args->firstblock, args->total, &map, &nmap, 1657 args->firstblock, args->total, &map, &nmap,
1658 args->flist))) { 1658 args->flist, NULL))) {
1659 return error; 1659 return error;
1660 } 1660 }
1661 ASSERT(nmap <= 1); 1661 ASSERT(nmap <= 1);
@@ -1676,7 +1676,8 @@ xfs_da_grow_inode(xfs_da_args_t *args, xfs_dablk_t *new_blkno)
1676 XFS_BMAPI_AFLAG(w)|XFS_BMAPI_WRITE| 1676 XFS_BMAPI_AFLAG(w)|XFS_BMAPI_WRITE|
1677 XFS_BMAPI_METADATA, 1677 XFS_BMAPI_METADATA,
1678 args->firstblock, args->total, 1678 args->firstblock, args->total,
1679 &mapp[mapi], &nmap, args->flist))) { 1679 &mapp[mapi], &nmap, args->flist,
1680 NULL))) {
1680 kmem_free(mapp, sizeof(*mapp) * count); 1681 kmem_free(mapp, sizeof(*mapp) * count);
1681 return error; 1682 return error;
1682 } 1683 }
@@ -1961,7 +1962,7 @@ xfs_da_shrink_inode(xfs_da_args_t *args, xfs_dablk_t dead_blkno,
1961 */ 1962 */
1962 if ((error = xfs_bunmapi(tp, dp, dead_blkno, count, 1963 if ((error = xfs_bunmapi(tp, dp, dead_blkno, count,
1963 XFS_BMAPI_AFLAG(w)|XFS_BMAPI_METADATA, 1964 XFS_BMAPI_AFLAG(w)|XFS_BMAPI_METADATA,
1964 0, args->firstblock, args->flist, 1965 0, args->firstblock, args->flist, NULL,
1965 &done)) == ENOSPC) { 1966 &done)) == ENOSPC) {
1966 if (w != XFS_DATA_FORK) 1967 if (w != XFS_DATA_FORK)
1967 goto done; 1968 goto done;
@@ -2086,7 +2087,7 @@ xfs_da_do_buf(
2086 nfsb, 2087 nfsb,
2087 XFS_BMAPI_METADATA | 2088 XFS_BMAPI_METADATA |
2088 XFS_BMAPI_AFLAG(whichfork), 2089 XFS_BMAPI_AFLAG(whichfork),
2089 NULL, 0, mapp, &nmap, NULL))) 2090 NULL, 0, mapp, &nmap, NULL, NULL)))
2090 goto exit0; 2091 goto exit0;
2091 } 2092 }
2092 } else { 2093 } else {