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

Submitted by jeff.liu on May 30, 2012, 2:58 p.m.

Details

Message ID 1338389946-13711-4-git-send-email-jeff.liu@oracle.com
State Not Applicable, archived
Headers show

Commit Message

jeff.liu May 30, 2012, 2:58 p.m.
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@oracle.com>
---
 include/linux/quota.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

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 */