|
@@ -944,15 +944,6 @@ xfs_mountfs(
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- /*
|
|
|
|
- * During the second phase of log recovery, we need iget and
|
|
|
|
- * iput to behave like they do for an active filesystem.
|
|
|
|
- * xfs_fs_drop_inode needs to be able to prevent the deletion
|
|
|
|
- * of inodes before we're done replaying log items on those
|
|
|
|
- * inodes.
|
|
|
|
- */
|
|
|
|
- mp->m_super->s_flags |= MS_ACTIVE;
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Finish recovering the file system. This part needed to be delayed
|
|
* Finish recovering the file system. This part needed to be delayed
|
|
* until after the root and real-time bitmap inodes were consistently
|
|
* until after the root and real-time bitmap inodes were consistently
|
|
@@ -1028,12 +1019,13 @@ xfs_mountfs(
|
|
out_quota:
|
|
out_quota:
|
|
xfs_qm_unmount_quotas(mp);
|
|
xfs_qm_unmount_quotas(mp);
|
|
out_rtunmount:
|
|
out_rtunmount:
|
|
- mp->m_super->s_flags &= ~MS_ACTIVE;
|
|
|
|
xfs_rtunmount_inodes(mp);
|
|
xfs_rtunmount_inodes(mp);
|
|
out_rele_rip:
|
|
out_rele_rip:
|
|
IRELE(rip);
|
|
IRELE(rip);
|
|
cancel_delayed_work_sync(&mp->m_reclaim_work);
|
|
cancel_delayed_work_sync(&mp->m_reclaim_work);
|
|
xfs_reclaim_inodes(mp, SYNC_WAIT);
|
|
xfs_reclaim_inodes(mp, SYNC_WAIT);
|
|
|
|
+ /* Clean out dquots that might be in memory after quotacheck. */
|
|
|
|
+ xfs_qm_unmount(mp);
|
|
out_log_dealloc:
|
|
out_log_dealloc:
|
|
mp->m_flags |= XFS_MOUNT_UNMOUNTING;
|
|
mp->m_flags |= XFS_MOUNT_UNMOUNTING;
|
|
xfs_log_mount_cancel(mp);
|
|
xfs_log_mount_cancel(mp);
|