diff options
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index eb341461feb9..851eca8a7150 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -3834,7 +3834,10 @@ xlog_do_recover( | |||
3834 | */ | 3834 | */ |
3835 | bp = xfs_getsb(log->l_mp, 0); | 3835 | bp = xfs_getsb(log->l_mp, 0); |
3836 | XFS_BUF_UNDONE(bp); | 3836 | XFS_BUF_UNDONE(bp); |
3837 | ASSERT(!(XFS_BUF_ISWRITE(bp))); | ||
3838 | ASSERT(!(XFS_BUF_ISDELAYWRITE(bp))); | ||
3837 | XFS_BUF_READ(bp); | 3839 | XFS_BUF_READ(bp); |
3840 | XFS_BUF_UNASYNC(bp); | ||
3838 | xfsbdstrat(log->l_mp, bp); | 3841 | xfsbdstrat(log->l_mp, bp); |
3839 | if ((error = xfs_iowait(bp))) { | 3842 | if ((error = xfs_iowait(bp))) { |
3840 | xfs_ioerror_alert("xlog_do_recover", | 3843 | xfs_ioerror_alert("xlog_do_recover", |