|
@@ -359,14 +359,12 @@ xfs_quiesce_data(
|
|
{
|
|
{
|
|
int error, error2 = 0;
|
|
int error, error2 = 0;
|
|
|
|
|
|
- /* push non-blocking */
|
|
|
|
- xfs_sync_data(mp, 0);
|
|
|
|
xfs_qm_sync(mp, SYNC_TRYLOCK);
|
|
xfs_qm_sync(mp, SYNC_TRYLOCK);
|
|
-
|
|
|
|
- /* push and block till complete */
|
|
|
|
- xfs_sync_data(mp, SYNC_WAIT);
|
|
|
|
xfs_qm_sync(mp, SYNC_WAIT);
|
|
xfs_qm_sync(mp, SYNC_WAIT);
|
|
|
|
|
|
|
|
+ /* force out the newly dirtied log buffers */
|
|
|
|
+ xfs_log_force(mp, XFS_LOG_SYNC);
|
|
|
|
+
|
|
/* write superblock and hoover up shutdown errors */
|
|
/* write superblock and hoover up shutdown errors */
|
|
error = xfs_sync_fsdata(mp);
|
|
error = xfs_sync_fsdata(mp);
|
|
|
|
|