[PATCH 03/12] container quota: introduce container quota format identifier.

jeff.liu at oracle.com jeff.liu at oracle.com
Wed May 30 14:58:57 UTC 2012


Introduce a new quota format QFMT_NS, return it for Q_GETINFO.
Further more, linux quota tools need such info to decide which
kind of quota control operations will be initialized and performed.

Signed-off-by: Jie Liu <jeff.liu at oracle.com>
---
 include/linux/quota.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/quota.h b/include/linux/quota.h
index c09fa04..84e9be7 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -75,6 +75,7 @@
 #define	QFMT_VFS_V0 2
 #define QFMT_OCFS2 3
 #define	QFMT_VFS_V1 4
+#define QFMT_NS	5
 
 /* Size of block in which space limits are passed through the quota
  * interface */
-- 
1.7.9



More information about the Containers mailing list