xfs: refactor dquot cache handling
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 May 2018 22:30:20 +0000 (15:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 10 May 2018 15:56:47 +0000 (08:56 -0700)
commitcc2047c4d0367cf4c51b631284d2266e1f0525c7
tree3baf4496245f2036866002bc75f9a5d505adf4a0
parent2e330e76e03dd0caee6804b49e9e49d7c3998867
xfs: refactor dquot cache handling

Delegate the dquot cache handling (radix tree lookup and insertion) to
separate helper functions so that we can continue to simplify the body
of dqget.

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