xfs: replace XFS_QMOPT_DQALLOC with a simple boolean
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 May 2018 22:30:24 +0000 (15:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 10 May 2018 15:56:48 +0000 (08:56 -0700)
commit30ab2dcf2c0693e518b1920e6edc4212cba10d10
tree40561e9ad625ae8e6e7dbc19a64919b31ef02832
parent114e73ccfa2a51b47160f49524aa46f0d70cb8a9
xfs: replace XFS_QMOPT_DQALLOC with a simple boolean

DQALLOC is only ever used with xfs_qm_dqget*, and the only flag that the
_dqget family of functions cares about is DQALLOC.  Therefore, change
it to a boolean 'can alloc?' flag for the dqget interfaces where that
makes sense.

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