diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 16:58:11 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-12 17:39:22 -0500 |
commit | f2fba558d3c80dcd10bbadbb8f05c78dc2860b95 (patch) | |
tree | 00cbd32e517729b75755067dc0a8d009166a9e73 /fs/xfs/xfs_qm.c | |
parent | fdedf28b9492d69976110d12cc0d02d33c8ea7ea (diff) |
xfs: make sure to really flush all dquots in xfs_qm_quotacheck
Make sure we do not skip any dquots when flushing them out after a
quotacheck to make sure that we will never have any dirty dquots on a
live filesystem. At this point no dquot should be pinnable, but lets
be pedantic about it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index 93cafacbed3c..c704ea0115d5 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c | |||
@@ -1661,7 +1661,7 @@ xfs_qm_quotacheck( | |||
1661 | * successfully. | 1661 | * successfully. |
1662 | */ | 1662 | */ |
1663 | if (!error) | 1663 | if (!error) |
1664 | error = xfs_qm_dqflush_all(mp, SYNC_TRYLOCK); | 1664 | error = xfs_qm_dqflush_all(mp, 0); |
1665 | 1665 | ||
1666 | /* | 1666 | /* |
1667 | * We can get this error if we couldn't do a dquot allocation inside | 1667 | * We can get this error if we couldn't do a dquot allocation inside |