aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 3a8fe7bfa2af..1f83298f90aa 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -121,7 +121,8 @@ xlog_bread(
121 XFS_BUF_SET_TARGET(bp, log->l_mp->m_logdev_targp); 121 XFS_BUF_SET_TARGET(bp, log->l_mp->m_logdev_targp);
122 122
123 xfsbdstrat(log->l_mp, bp); 123 xfsbdstrat(log->l_mp, bp);
124 if ((error = xfs_iowait(bp))) 124 error = xfs_iowait(bp);
125 if (error)
125 xfs_ioerror_alert("xlog_bread", log->l_mp, 126 xfs_ioerror_alert("xlog_bread", log->l_mp,
126 bp, XFS_BUF_ADDR(bp)); 127 bp, XFS_BUF_ADDR(bp));
127 return error; 128 return error;
@@ -3849,7 +3850,8 @@ xlog_do_recover(
3849 XFS_BUF_READ(bp); 3850 XFS_BUF_READ(bp);
3850 XFS_BUF_UNASYNC(bp); 3851 XFS_BUF_UNASYNC(bp);
3851 xfsbdstrat(log->l_mp, bp); 3852 xfsbdstrat(log->l_mp, bp);
3852 if ((error = xfs_iowait(bp))) { 3853 error = xfs_iowait(bp);
3854 if (error) {
3853 xfs_ioerror_alert("xlog_do_recover", 3855 xfs_ioerror_alert("xlog_do_recover",
3854 log->l_mp, bp, XFS_BUF_ADDR(bp)); 3856 log->l_mp, bp, XFS_BUF_ADDR(bp));
3855 ASSERT(0); 3857 ASSERT(0);