Patchwork [1/3] container quota tool: add LXC quota format identifier

login
register
mail settings
Submitter jeff.liu
Date May 30, 2012, 3:07 p.m.
Message ID <1338390478-13951-1-git-send-email-jeff.liu@oracle.com>
Download mbox | patch
Permalink /patch/162005/
State Not Applicable
Headers show

Comments

jeff.liu - May 30, 2012, 3:07 p.m.
Add a new quota format QFMT_NS for container, return from Q_GETINFO.

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

Patch

diff --git a/quota.h b/quota.h
index ac034d0..9c37bed 100644
--- a/quota.h
+++ b/quota.h
@@ -145,6 +145,7 @@  enum {
 #define QFMT_VFS_V0  2
 #define QFMT_OCFS2   3
 #define QFMT_VFS_V1  4
+#define QFMT_NS      5
 
 /* Flags supported by kernel */
 #define V1_DQF_RSQUASH 1