]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
xfs: refactor dquot iteration
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 May 2018 22:31:21 +0000 (15:31 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 00:56:59 +0000 (17:56 -0700)
commit554ba965407e90fed381a93f230b6ca675cfcd07
tree908fa80f638ee270e0a5bb243c0f5bc1ae15227d
parent28b9060bd80851d889152bc17a241fe1eddb1a0b
xfs: refactor dquot iteration

Create a helper function to iterate all the dquots of a given type in
the system, and refactor the dquot scrub to use it.  This will get more
use in the quota repair code.

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/scrub/quota.c
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h