]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: replace XFS_QMOPT_DQALLOC with a simple boolean
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 28 Jun 2018 20:11:56 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Jun 2018 20:11:56 +0000 (15:11 -0500)
commitcd1a0fde1651a927c86b535ced96325f55927489
tree8f571072c5e5319f99ed7f3469cfdd63747d5178
parent43cf369d54f78fb3dcf4c3325c01371ce49ffa46
xfs: replace XFS_QMOPT_DQALLOC with a simple boolean

Source kernel commit: 30ab2dcf2c0693e518b1920e6edc4212cba10d10

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_quota_defs.h