quotactl.2: Don't show numeric values of Q_XQUOTAON XFS_QUOTA_?DQ_* flags

The programmer should not need to care about the numeric values,
and their inclusion is verbosity.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-12-13 18:07:27 +01:00
parent 0674437054
commit 36a35d6735
1 changed files with 7 additions and 13 deletions

View File

@ -408,23 +408,17 @@ Therefore, XFS expects
.I addr
to be a pointer to an
.I "unsigned int"
that contains a combination of the following flags (defined in
that contains a bit-wise combination of the following flags (defined in
.IR <xfs/xqm.h> ):
.IP
.in +4n
.EX
#define XFS_QUOTA_UDQ_ACCT (1<<0) /* User quota
accounting */
#define XFS_QUOTA_UDQ_ENFD (1<<1) /* User quota limits
enforcement */
#define XFS_QUOTA_GDQ_ACCT (1<<2) /* Group quota
accounting */
#define XFS_QUOTA_GDQ_ENFD (1<<3) /* Group quota limits
enforcement */
#define XFS_QUOTA_PDQ_ACCT (1<<4) /* Project quota
accounting */
#define XFS_QUOTA_PDQ_ENFD (1<<5) /* Project quota limits
enforcement */
XFS_QUOTA_UDQ_ACCT /* User quota accounting */
XFS_QUOTA_UDQ_ENFD /* User quota limits enforcement */
XFS_QUOTA_GDQ_ACCT /* Group quota accounting */
XFS_QUOTA_GDQ_ENFD /* Group quota limits enforcement */
XFS_QUOTA_PDQ_ACCT /* Project quota accounting */
XFS_QUOTA_PDQ_ENFD /* Project quota limits enforcement */
.EE
.in
.IP