xfs: refactor xfs_qm_dqtobp and xfs_qm_dqalloc
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)
commitd63192c8904727fced1644f0dd0f7aa26b5f7dc4
tree814d25470397fe598c0a601560d491cd008462b0
parent617cd5c12c3c37d52f092887b092bdb3245a1310
xfs: refactor xfs_qm_dqtobp and xfs_qm_dqalloc

Separate the disk dquot read and allocation functionality into
two helper functions, then refactor dqread to call them directly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_dquot.c