[XFS] Make freeze code a little cleaner.
[linux-drm-fsl-dcu.git] / fs / xfs / linux-2.6 / xfs_super.c
index f3ad51602ebbc280970bb221721380552249ee8b..2a94859b939975dbb8dc5914c9f8b01fa019c157 100644 (file)
@@ -667,7 +667,7 @@ xfs_fs_sync_super(
                 * occur here so don't bother flushing the buftarg (i.e
                 * SYNC_QUIESCE) because it'll just get dirty again.
                 */
-               flags = SYNC_FSDATA | SYNC_DELWRI | SYNC_WAIT | SYNC_DIO_WAIT;
+               flags = SYNC_FSDATA | SYNC_DELWRI | SYNC_WAIT | SYNC_IOWAIT;
        } else
                flags = SYNC_FSDATA | (wait ? SYNC_WAIT : 0);