aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 0e76348d958a..88cd0c893163 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1025,17 +1025,10 @@ xfs_fs_sync_fs(
1025 int error; 1025 int error;
1026 1026
1027 /* 1027 /*
1028 * Not much we can do for the first async pass. Writing out the 1028 * Doing anything during the async pass would be counterproductive.
1029 * superblock would be counter-productive as we are going to redirty
1030 * when writing out other data and metadata (and writing out a single
1031 * block is quite fast anyway).
1032 *
1033 * Try to asynchronously kick off quota syncing at least.
1034 */ 1029 */
1035 if (!wait) { 1030 if (!wait)
1036 xfs_qm_sync(mp, SYNC_TRYLOCK);
1037 return 0; 1031 return 0;
1038 }
1039 1032
1040 error = xfs_quiesce_data(mp); 1033 error = xfs_quiesce_data(mp);
1041 if (error) 1034 if (error)