diff options
Diffstat (limited to 'quotaio_xfs.h')
-rw-r--r-- | quotaio_xfs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/quotaio_xfs.h b/quotaio_xfs.h index cf89973..54725b0 100644 --- a/quotaio_xfs.h +++ b/quotaio_xfs.h @@ -105,6 +105,15 @@ typedef struct fs_disk_quota { #define FS_DQ_TIMER_MASK (FS_DQ_BTIMER | FS_DQ_ITIMER | FS_DQ_RTBTIMER) /* + * Accounting values. These can only be set for filesystem with + * non-transactional quotas that require quotacheck(8) in userspace. + */ +#define FS_DQ_BCOUNT (1<<12) +#define FS_DQ_ICOUNT (1<<13) +#define FS_DQ_RTBCOUNT (1<<14) +#define FS_DQ_ACCT_MASK (FS_DQ_BCOUNT | FS_DQ_ICOUNT | FS_DQ_RTBCOUNT) + +/* * Various flags related to quotactl(2). Only relevant to XFS filesystems. */ #define XFS_QUOTA_UDQ_ACCT (1<<0) /* user quota accounting */ |