summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/dqblk_v1.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/dqblk_v1.h')
-rw-r--r--kernel/include/linux/dqblk_v1.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/include/linux/dqblk_v1.h b/kernel/include/linux/dqblk_v1.h
new file mode 100644
index 000000000..c0d4d1e2a
--- /dev/null
+++ b/kernel/include/linux/dqblk_v1.h
@@ -0,0 +1,14 @@
+/*
+ * File with in-memory structures of old quota format
+ */
+
+#ifndef _LINUX_DQBLK_V1_H
+#define _LINUX_DQBLK_V1_H
+
+/* Numbers of blocks needed for updates */
+#define V1_INIT_ALLOC 1
+#define V1_INIT_REWRITE 1
+#define V1_DEL_ALLOC 0
+#define V1_DEL_REWRITE 2
+
+#endif /* _LINUX_DQBLK_V1_H */