summaryrefslogtreecommitdiff
path: root/dqblk_v2.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-09-26 12:26:11 +0000
committerjkar8572 <jkar8572>2001-09-26 12:26:11 +0000
commit570ff1d772f4b2d0a73025c547e46e82ceb79eaa (patch)
tree56f536fb06c9557096635c05e00dfc8d9649ead1 /dqblk_v2.h
parent48448ca24e00e530e59d774bfdb3c2a76616330c (diff)
Fixed detection of RH 7.1 kernel not to make problems on older kernels.
Utilities now use shared locks when opening files read-only. Changed naming of Q_GETSTATS as they would be no longer in kernel.
Diffstat (limited to 'dqblk_v2.h')
-rw-r--r--dqblk_v2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dqblk_v2.h b/dqblk_v2.h
index 56aaf5f..2a8c2b7 100644
--- a/dqblk_v2.h
+++ b/dqblk_v2.h
@@ -13,6 +13,7 @@
#define Q_V2_SETQUOTA 0x0E00 /* Set limits and usage */
#define Q_V2_GETINFO 0x0900 /* Get information about quota */
#define Q_V2_SETINFO 0x0A00 /* Set information about quota */
+#define Q_V2_GETSTATS 0x1100 /* get collected stats (before proc was used) */
/* Structure for format specific information */
struct v2_mem_dqinfo {