diff options
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index ba8e36e0b4e7..cee4ab9f8a9e 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -1118,7 +1118,8 @@ xlog_alloc_log(xfs_mount_t *mp, | |||
1118 | iclog->ic_prev = prev_iclog; | 1118 | iclog->ic_prev = prev_iclog; |
1119 | prev_iclog = iclog; | 1119 | prev_iclog = iclog; |
1120 | 1120 | ||
1121 | bp = xfs_buf_get_noaddr(log->l_iclog_size, mp->m_logdev_targp); | 1121 | bp = xfs_buf_get_uncached(mp->m_logdev_targp, |
1122 | log->l_iclog_size, 0); | ||
1122 | if (!bp) | 1123 | if (!bp) |
1123 | goto out_free_iclog; | 1124 | goto out_free_iclog; |
1124 | if (!XFS_BUF_CPSEMA(bp)) | 1125 | if (!XFS_BUF_CPSEMA(bp)) |
@@ -1296,7 +1297,7 @@ xlog_bdstrat( | |||
1296 | if (iclog->ic_state & XLOG_STATE_IOERROR) { | 1297 | if (iclog->ic_state & XLOG_STATE_IOERROR) { |
1297 | XFS_BUF_ERROR(bp, EIO); | 1298 | XFS_BUF_ERROR(bp, EIO); |
1298 | XFS_BUF_STALE(bp); | 1299 | XFS_BUF_STALE(bp); |
1299 | xfs_biodone(bp); | 1300 | xfs_buf_ioend(bp, 0); |
1300 | /* | 1301 | /* |
1301 | * It would seem logical to return EIO here, but we rely on | 1302 | * It would seem logical to return EIO here, but we rely on |
1302 | * the log state machine to propagate I/O errors instead of | 1303 | * the log state machine to propagate I/O errors instead of |