]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
benign changes for userspace, keep in sync with kernel.
authorNathan Scott <nathans@sgi.com>
Fri, 31 Aug 2001 03:53:05 +0000 (03:53 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 31 Aug 2001 03:53:05 +0000 (03:53 +0000)
include/xqm.h

index 8bcb9f8246339f37b5543cc7d91a677d06095633..5001f8e75944d78f195b34a2984524e6668d2033 100644 (file)
  * Disk quota - quotactl(2) commands for the XFS Quota Manager (XQM).
  */
 
-#ifndef XQM_CMD        /* may have been defined in <linux/quota.h> 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: