From: Nathan Scott Date: Fri, 31 Aug 2001 03:53:05 +0000 (+0000) Subject: benign changes for userspace, keep in sync with kernel. X-Git-Tag: v2.0.0~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e242fec83bb2bcc62c7760f3d08f548c3ab13b92;p=thirdparty%2Fxfsprogs-dev.git benign changes for userspace, keep in sync with kernel. --- diff --git a/include/xqm.h b/include/xqm.h index 8bcb9f824..5001f8e75 100644 --- a/include/xqm.h +++ b/include/xqm.h @@ -38,16 +38,14 @@ * Disk quota - quotactl(2) commands for the XFS Quota Manager (XQM). */ -#ifndef XQM_CMD /* may have been defined in already */ -#define XQM_CMD(x) ( ('X'<<8)+(x) ) /* note: forms first QCMD argument */ -#define IS_XQM_CMD(x) ( ((int)(x)>>8) == 'X' ) -#define Q_XQUOTAON XQM_CMD(0x1) /* enable accounting/enforcement */ -#define Q_XQUOTAOFF XQM_CMD(0x2) /* disable accounting/enforcement */ -#define Q_XGETQUOTA XQM_CMD(0x3) /* get disk limits and usage */ -#define Q_XSETQLIM XQM_CMD(0x4) /* set disk limits */ -#define Q_XGETQSTAT XQM_CMD(0x5) /* get quota subsystem status */ -#define Q_XQUOTARM XQM_CMD(0x6) /* free disk space used by dquots */ -#endif /* XQM_CMD */ +#define XQM_CMD(x) (('X'<<8)+(x)) /* note: forms first QCMD argument */ +#define Q_XQUOTAON XQM_CMD(0x1) /* enable accounting/enforcement */ +#define Q_XQUOTAOFF XQM_CMD(0x2) /* disable accounting/enforcement */ +#define Q_XGETQUOTA XQM_CMD(0x3) /* get disk limits and usage */ +#define Q_XSETQLIM XQM_CMD(0x4) /* set disk limits */ +#define Q_XGETQSTAT XQM_CMD(0x5) /* get quota subsystem status */ +#define Q_XQUOTARM XQM_CMD(0x6) /* free disk space used by dquots */ +#define Q_XDEBUG XQM_CMD(0x7) /* do internal consistency checks */ /* * fs_disk_quota structure: