diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2011-07-22 19:40:15 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-07-25 16:03:13 -0400 |
commit | 6292604447ade7d150f5eba3b1518e1a224fda15 (patch) | |
tree | a33ff273c5d2e9b60bd468aa6c077d173187da28 /fs/xfs/xfs_bmap.c | |
parent | 0095a21eb6ae8ac9f9860aa26029fe6ebbd3beeb (diff) |
xfs: Remove the macro XFS_BUF_PTR
Remove the definition and usages of the macro XFS_BUF_PTR.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index c51a3f903633..25cb2b2c427a 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -3384,8 +3384,7 @@ xfs_bmap_local_to_extents( | |||
3384 | ASSERT(args.len == 1); | 3384 | ASSERT(args.len == 1); |
3385 | *firstblock = args.fsbno; | 3385 | *firstblock = args.fsbno; |
3386 | bp = xfs_btree_get_bufl(args.mp, tp, args.fsbno, 0); | 3386 | bp = xfs_btree_get_bufl(args.mp, tp, args.fsbno, 0); |
3387 | memcpy((char *)XFS_BUF_PTR(bp), ifp->if_u1.if_data, | 3387 | memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); |
3388 | ifp->if_bytes); | ||
3389 | xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); | 3388 | xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); |
3390 | xfs_bmap_forkoff_reset(args.mp, ip, whichfork); | 3389 | xfs_bmap_forkoff_reset(args.mp, ip, whichfork); |
3391 | xfs_idata_realloc(ip, -ifp->if_bytes, whichfork); | 3390 | xfs_idata_realloc(ip, -ifp->if_bytes, whichfork); |