xfs: delegate dqget input checks to helper function
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 May 2018 22:30:21 +0000 (15:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 10 May 2018 15:56:47 +0000 (08:56 -0700)
commitd7103eeb0051db9c27b7aaaf07262bd3802c529f
treec90323ff75f2ac2237cb95ed6d989be64b8b21a5
parentcc2047c4d0367cf4c51b631284d2266e1f0525c7
xfs: delegate dqget input checks to helper function

Move the dqget input checks to a separate function in preparation for
splitting up the dqget functionality.

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