[XFS] Turn off XBF_ASYNC flag before re-reading superblock.
SGI-PV: 971603 SGI-Modid: xfs-linux-melb:xfs-kern:29871a Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:
parent
e893bffd4c
commit
bebf963fec
1 changed files with 3 additions and 0 deletions
|
@ -3834,7 +3834,10 @@ xlog_do_recover(
|
|||
*/
|
||||
bp = xfs_getsb(log->l_mp, 0);
|
||||
XFS_BUF_UNDONE(bp);
|
||||
ASSERT(!(XFS_BUF_ISWRITE(bp)));
|
||||
ASSERT(!(XFS_BUF_ISDELAYWRITE(bp)));
|
||||
XFS_BUF_READ(bp);
|
||||
XFS_BUF_UNASYNC(bp);
|
||||
xfsbdstrat(log->l_mp, bp);
|
||||
if ((error = xfs_iowait(bp))) {
|
||||
xfs_ioerror_alert("xlog_do_recover",
|
||||
|
|
Loading…
Reference in a new issue