aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorChandra Seetharaman <sekharan@us.ibm.com>2011-07-22 19:40:33 -0400
committerAlex Elder <aelder@sgi.com>2011-07-25 16:03:26 -0400
commite38c9b87e5b428b3e2a2e48ab0ee2b6cdc8e6208 (patch)
treee5f07f9f838a3e1a990410b0851ed3d111380ac7 /fs/xfs/xfs_log_recover.c
parent811e64c7169bb59229971c4aa3b1ed5093f44c84 (diff)
xfs: Remove the macro XFS_BUF_SET_TARGET
Remove the macro XFS_BUF_SET_TARGET. hch: As all the buffer allocator already set ->b_target it should be safe to simply remove these calls. 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_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index aaf61d5eefb9..93786e518d87 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -179,7 +179,6 @@ xlog_bread_noalign(
179 XFS_BUF_SET_ADDR(bp, log->l_logBBstart + blk_no); 179 XFS_BUF_SET_ADDR(bp, log->l_logBBstart + blk_no);
180 XFS_BUF_READ(bp); 180 XFS_BUF_READ(bp);
181 XFS_BUF_SET_COUNT(bp, BBTOB(nbblks)); 181 XFS_BUF_SET_COUNT(bp, BBTOB(nbblks));
182 XFS_BUF_SET_TARGET(bp, log->l_mp->m_logdev_targp);
183 182
184 xfsbdstrat(log->l_mp, bp); 183 xfsbdstrat(log->l_mp, bp);
185 error = xfs_buf_iowait(bp); 184 error = xfs_buf_iowait(bp);
@@ -268,7 +267,6 @@ xlog_bwrite(
268 xfs_buf_hold(bp); 267 xfs_buf_hold(bp);
269 xfs_buf_lock(bp); 268 xfs_buf_lock(bp);
270 XFS_BUF_SET_COUNT(bp, BBTOB(nbblks)); 269 XFS_BUF_SET_COUNT(bp, BBTOB(nbblks));
271 XFS_BUF_SET_TARGET(bp, log->l_mp->m_logdev_targp);
272 270
273 if ((error = xfs_bwrite(log->l_mp, bp))) 271 if ((error = xfs_bwrite(log->l_mp, bp)))
274 xfs_ioerror_alert("xlog_bwrite", log->l_mp, 272 xfs_ioerror_alert("xlog_bwrite", log->l_mp,