From 869c706fbfd1202a5edbfa9243666056bc2c970f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 22 Sep 2016 08:58:34 +0200 Subject: [PATCH] quotactl.2: wfix Signed-off-by: Michael Kerrisk --- man2/quotactl.2 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/man2/quotactl.2 b/man2/quotactl.2 index 13347375c..2fc791f31 100644 --- a/man2/quotactl.2 +++ b/man2/quotactl.2 @@ -531,11 +531,10 @@ This operation requires privilege .RB ( CAP_SYS_ADMIN ). .TP .B Q_XGETQSTAT -Returns (in a buffer pointed by -.IR addr ) -an +Returns XFS filesystem-specific quota information in the .I fs_quota_stat -structure containing XFS filesystem-specific quota information. +structure pointed by +.IR addr . This is useful for finding out how much space is used to store quota information, and also to get the quota on/off status of a given local XFS filesystem. @@ -579,11 +578,10 @@ The argument is ignored. .TP .B Q_XGETQSTATV -Returns (in a buffer pointed by -.IR addr ) -an +Returns XFS filesystem-specific quota information in the .I fs_quota_statv -structure containing XFS filesystem-specific quota information. +pointed to by +.IR addr . This version of the command uses a structure with proper versioning support, along with appropriate layout (all fields are naturally aligned) and padding to avoiding special compat handling;