From patchwork Wed May 30 14:58:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [03/12] container quota: introduce container quota format identifier. Date: Wed, 30 May 2012 04:58:57 -0000 From: jeff.liu X-Patchwork-Id: 161992 Message-Id: <1338389946-13711-4-git-send-email-jeff.liu@oracle.com> To: containers@lists.linux-foundation.org Cc: cgroups@vger.kernel.org, jack@suse.cz, glommer@parallels.com, daniel.lezcano@free.fr, tytso@mit.edu, bpm@sgi.com, chris.mason@oracle.com, hch@infradead.org, christopher.jones@oracle.com, david@fromorbit.com, tinguely@sgi.com, tm@tao.ma, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jie Liu 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 --- 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 */