summaryrefslogtreecommitdiff
path: root/include/linux/dqblk_v1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dqblk_v1.h')
-rw-r--r--include/linux/dqblk_v1.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/dqblk_v1.h b/include/linux/dqblk_v1.h
new file mode 100644
index 00000000..3713a723
--- /dev/null
+++ b/include/linux/dqblk_v1.h
@@ -0,0 +1,17 @@
+/*
+ * File with in-memory structures of old quota format
+ */
+
+#ifndef _LINUX_DQBLK_V1_H
+#define _LINUX_DQBLK_V1_H
+
+/* Root squash turned on */
+#define V1_DQF_RSQUASH 1
+
+/* 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 */