diff options
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.h | 1 | ||||
| -rw-r--r-- | fs/xfs/xfs_log_recover.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.h b/fs/xfs/linux-2.6/xfs_buf.h index f4e3de65ebe7..6a38b2d21ea0 100644 --- a/fs/xfs/linux-2.6/xfs_buf.h +++ b/fs/xfs/linux-2.6/xfs_buf.h | |||
| @@ -292,7 +292,6 @@ static inline int xfs_buf_ispinned(struct xfs_buf *bp) | |||
| 292 | 292 | ||
| 293 | #define XFS_BUF_FINISH_IOWAIT(bp) complete(&bp->b_iowait); | 293 | #define XFS_BUF_FINISH_IOWAIT(bp) complete(&bp->b_iowait); |
| 294 | 294 | ||
| 295 | #define XFS_BUF_SET_TARGET(bp, target) ((bp)->b_target = (target)) | ||
| 296 | #define XFS_BUF_TARGET(bp) ((bp)->b_target) | 295 | #define XFS_BUF_TARGET(bp) ((bp)->b_target) |
| 297 | #define XFS_BUFTARG_NAME(target) xfs_buf_target_name(target) | 296 | #define XFS_BUFTARG_NAME(target) xfs_buf_target_name(target) |
| 298 | 297 | ||
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, |
