xfs: remove direct calls to _qm_dqread
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 May 2018 22:30:23 +0000 (15:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 10 May 2018 15:56:48 +0000 (08:56 -0700)
commit114e73ccfa2a51b47160f49524aa46f0d70cb8a9
tree16762cedc8d858252ac47947e28e3201ff684149
parentd63192c8904727fced1644f0dd0f7aa26b5f7dc4
xfs: remove direct calls to _qm_dqread

The quota initialization code needs an "uncached" variant of _dqget to
read in default quota limits and timers before the dquot cache is fully
set up.  We've already split up _dqget into its component pieces so
create a fourth variant to address this need, and make dqread internal
to xfs_dquot.c again.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_qm.c