diff options
author | jkar8572 <jkar8572> | 2001-09-26 12:26:11 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-09-26 12:26:11 +0000 |
commit | 570ff1d772f4b2d0a73025c547e46e82ceb79eaa (patch) | |
tree | 56f536fb06c9557096635c05e00dfc8d9649ead1 /quota.h | |
parent | 48448ca24e00e530e59d774bfdb3c2a76616330c (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 'quota.h')
-rw-r--r-- | quota.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -49,19 +49,6 @@ typedef u_int64_t qsize_t; /* Type in which we store size limitations */ #define Q_QUOTAON 0x0100 /* enable quotas */ #define Q_QUOTAOFF 0x0200 /* disable quotas */ #define Q_SYNC 0x0600 /* sync disk copy of a filesystems quotas */ -#define Q_GETSTATS 0x1100 /* get collected stats */ - -struct dqstats { - u_int32_t lookups; - u_int32_t drops; - u_int32_t reads; - u_int32_t writes; - u_int32_t cache_hits; - u_int32_t allocated_dquots; - u_int32_t free_dquots; - u_int32_t syncs; - u_int32_t version; -}; /* Ioctl for getting quota size */ #include <sys/ioctl.h> |