xfs: make sure to really flush all dquots in xfs_qm_quotacheck
authorChristoph Hellwig <hch@infradead.org>
Tue, 6 Dec 2011 21:58:11 +0000 (21:58 +0000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Dec 2011 22:39:22 +0000 (16:39 -0600)
commitf2fba558d3c80dcd10bbadbb8f05c78dc2860b95
tree00cbd32e517729b75755067dc0a8d009166a9e73
parentfdedf28b9492d69976110d12cc0d02d33c8ea7ea
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>
fs/xfs/xfs_qm.c