summaryrefslogtreecommitdiff
path: root/quotaio_v2.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-11-08 23:56:11 +0000
committerjkar8572 <jkar8572>2001-11-08 23:56:11 +0000
commitaa77462747260f3a79cab65d2e75f33129caae2d (patch)
tree6baada38136b55a099c175e07f4d732d40be0435 /quotaio_v2.h
parente3cd20e7ae77e71cd859b09849c1f68e57f9f580 (diff)
Added support for conversion of files with wrong endianity (due to SuSE RPM bug)
Added check to format detection routine to detect bad file endianity edquota and setquota now set just grace times and flags => avoid races on live filesystem
Diffstat (limited to 'quotaio_v2.h')
-rw-r--r--quotaio_v2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quotaio_v2.h b/quotaio_v2.h
index 2482156..bb3a000 100644
--- a/quotaio_v2.h
+++ b/quotaio_v2.h
@@ -20,6 +20,8 @@
#define V2_GETENTRIES(buf) ((struct v2_disk_dqblk *)(((char *)(buf)) + sizeof(struct v2_disk_dqdbheader)))
#define INIT_V2_VERSIONS { 0, 0}
+#define V2_IOFL_METAINFO_DIRTY 0x100 /* Is dirty also metadata information in info? */
+
struct v2_disk_dqheader {
u_int32_t dqh_magic; /* Magic number identifying file */
u_int32_t dqh_version; /* File version */