Eric Sandeen ce6e7e79ce xfs: switch xfs_get_defquota to take explicit type
xfs_get_defquota() currently takes an xfs_dquot, and from that obtains
the type of default quota we should get (user/group/project).

But early in init, we don't have access to a fully set up quota, so
that's not possible.  The next patch needs go set up default quota
timers early, so switch xfs_get_defquota to take an explicit type
and add a helper function to obtain that type from an xfs_dquot
for the existing callers.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2020-05-27 08:49:26 -07:00
..
2019-11-10 10:21:57 -08:00
2018-06-06 14:17:53 -07:00
2020-03-02 20:55:55 -08:00
2019-10-28 08:37:54 -07:00
2020-03-11 09:11:39 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2020-05-07 08:27:48 -07:00
2020-05-19 09:40:59 -07:00
2018-06-06 14:17:53 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2020-05-08 08:51:34 -07:00