aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2009-01-15 00:22:07 -0500
committerLachlan McIlroy <lachlan@sgi.com>2009-01-18 22:45:55 -0500
commitb6e3222732a3551e786aa47b90a8eab2a517711c (patch)
tree57ff209c55fba6688aea5d42f24bde32c449de1c /fs/xfs/xfs_inode.c
parentb828d8c33867dd6479644c06500975570bfd525c (diff)
[XFS] Remove the rest of the macro-to-function indirections.
Remove the last of the macros-defined-to-static-functions. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
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 */