diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2011-07-22 19:40:22 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-07-25 16:03:17 -0400 |
commit | 02fe03d909f3a5876d7b4775fdbc83c07c7c3842 (patch) | |
tree | ccc546ae4b21d69c4a9d07ac9240b05d91434679 /fs/xfs/xfs_log.c | |
parent | 6292604447ade7d150f5eba3b1518e1a224fda15 (diff) |
xfs: Remove the macro XFS_BUF_SET_PTR
Remove the definition and usages of the macro XFS_BUF_SET_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_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 3f1fa7bb9e3d..3a8d4f66d702 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -1395,8 +1395,8 @@ xlog_sync(xlog_t *log, | |||
1395 | if (split) { | 1395 | if (split) { |
1396 | bp = iclog->ic_log->l_xbuf; | 1396 | bp = iclog->ic_log->l_xbuf; |
1397 | XFS_BUF_SET_ADDR(bp, 0); /* logical 0 */ | 1397 | XFS_BUF_SET_ADDR(bp, 0); /* logical 0 */ |
1398 | XFS_BUF_SET_PTR(bp, (xfs_caddr_t)((__psint_t)&(iclog->ic_header)+ | 1398 | xfs_buf_associate_memory(bp, |
1399 | (__psint_t)count), split); | 1399 | (char *)&iclog->ic_header + count, split); |
1400 | bp->b_fspriv = iclog; | 1400 | bp->b_fspriv = iclog; |
1401 | XFS_BUF_ZEROFLAGS(bp); | 1401 | XFS_BUF_ZEROFLAGS(bp); |
1402 | XFS_BUF_ASYNC(bp); | 1402 | XFS_BUF_ASYNC(bp); |