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

login
register
mail settings
Submitter jeff.liu
Date May 30, 2012, 2:58 p.m.
Message ID <1338389946-13711-4-git-send-email-jeff.liu@oracle.com>
Download mbox | patch
Permalink /patch/161992/
State Not Applicable
Headers show

Comments

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

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