diff options
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 3a8d4f66d702..493447dc4f55 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -881,7 +881,7 @@ xlog_iodone(xfs_buf_t *bp) | |||
881 | if (XFS_TEST_ERROR((xfs_buf_geterror(bp)), l->l_mp, | 881 | if (XFS_TEST_ERROR((xfs_buf_geterror(bp)), l->l_mp, |
882 | XFS_ERRTAG_IODONE_IOERR, XFS_RANDOM_IODONE_IOERR)) { | 882 | XFS_ERRTAG_IODONE_IOERR, XFS_RANDOM_IODONE_IOERR)) { |
883 | xfs_ioerror_alert("xlog_iodone", l->l_mp, bp, XFS_BUF_ADDR(bp)); | 883 | xfs_ioerror_alert("xlog_iodone", l->l_mp, bp, XFS_BUF_ADDR(bp)); |
884 | XFS_BUF_STALE(bp); | 884 | xfs_buf_stale(bp); |
885 | xfs_force_shutdown(l->l_mp, SHUTDOWN_LOG_IO_ERROR); | 885 | xfs_force_shutdown(l->l_mp, SHUTDOWN_LOG_IO_ERROR); |
886 | /* | 886 | /* |
887 | * This flag will be propagated to the trans-committed | 887 | * This flag will be propagated to the trans-committed |
@@ -1247,7 +1247,7 @@ xlog_bdstrat( | |||
1247 | 1247 | ||
1248 | if (iclog->ic_state & XLOG_STATE_IOERROR) { | 1248 | if (iclog->ic_state & XLOG_STATE_IOERROR) { |
1249 | xfs_buf_ioerror(bp, EIO); | 1249 | xfs_buf_ioerror(bp, EIO); |
1250 | XFS_BUF_STALE(bp); | 1250 | xfs_buf_stale(bp); |
1251 | xfs_buf_ioend(bp, 0); | 1251 | xfs_buf_ioend(bp, 0); |
1252 | /* | 1252 | /* |
1253 | * It would seem logical to return EIO here, but we rely on | 1253 | * It would seem logical to return EIO here, but we rely on |