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-16 01:10:42 -0500
commit9d87c3192d96ef9ac1cec8321538e9b35e90b5aa (patch)
treedfcb9e8cf211c61885f1719b06633d87b43a320e /fs/xfs/xfs_inode.c
parentc088f4e9da74b901f7ed1749ad697d77622ed0f9 (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 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 */