From: Darrick J. Wong Date: Thu, 28 Jun 2018 20:11:56 +0000 (-0500) Subject: xfs: replace XFS_QMOPT_DQALLOC with a simple boolean X-Git-Tag: v4.18.0-rc0~49 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd1a0fde1651a927c86b535ced96325f55927489;p=thirdparty%2Fxfsprogs-dev.git 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 Reviewed-by: Brian Foster Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_quota_defs.h b/libxfs/xfs_quota_defs.h index 82762411d..4dc4b3c5f 100644 --- a/libxfs/xfs_quota_defs.h +++ b/libxfs/xfs_quota_defs.h @@ -109,7 +109,6 @@ typedef uint16_t xfs_qwarncnt_t; * to a single function. None of these XFS_QMOPT_* flags are meant to have * persistent values (ie. their values can and will change between versions) */ -#define XFS_QMOPT_DQALLOC 0x0000002 /* alloc dquot ondisk if needed */ #define XFS_QMOPT_UQUOTA 0x0000004 /* user dquot requested */ #define XFS_QMOPT_PQUOTA 0x0000008 /* project dquot requested */ #define XFS_QMOPT_FORCE_RES 0x0000010 /* ignore quota limits */