From: Darrick J. Wong Date: Thu, 28 Jun 2018 20:11:56 +0000 (-0500) Subject: xfs: refactor XFS_QMOPT_DQNEXT out of existence X-Git-Tag: v4.18.0-rc0~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e99501682fb89d3f3ce5fdff10c38f382c470b6;p=thirdparty%2Fxfsprogs-dev.git xfs: refactor XFS_QMOPT_DQNEXT out of existence Source kernel commit: 2e330e76e03dd0caee6804b49e9e49d7c3998867 There's only one caller of DQNEXT and its semantics can be moved into a separate function, so create the function and get rid of the flag. Signed-off-by: Darrick J. Wong Reviewed-by: Brian Foster Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_quota_defs.h b/libxfs/xfs_quota_defs.h index 7e9532ce2..82762411d 100644 --- a/libxfs/xfs_quota_defs.h +++ b/libxfs/xfs_quota_defs.h @@ -116,7 +116,6 @@ typedef uint16_t xfs_qwarncnt_t; #define XFS_QMOPT_SBVERSION 0x0000040 /* change superblock version num */ #define XFS_QMOPT_GQUOTA 0x0002000 /* group dquot requested */ #define XFS_QMOPT_ENOSPC 0x0004000 /* enospc instead of edquot (prj) */ -#define XFS_QMOPT_DQNEXT 0x0008000 /* return next dquot >= this ID */ /* * flags to xfs_trans_mod_dquot to indicate which field needs to be