diff options
author | Li Xi <pkuelelixi@gmail.com> | 2015-03-19 04:04:53 +0900 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-03-18 21:55:08 +0100 |
commit | 847aac644e92e5624f2c153bab409bf713d5ff9a (patch) | |
tree | 457739cbd1ca419d9d179a07e341bb81942885f7 /fs/quota/quotaio_v2.h | |
parent | 5ce1aca814354c5942cdb5604e142a49be7033eb (diff) |
vfs: Add general support to enforce project quota limits
This patch adds support for a new quota type PRJQUOTA for project quota
enforcement. Also a new method get_projid() is added into dquot_operations
structure.
Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/quotaio_v2.h')
-rw-r--r-- | fs/quota/quotaio_v2.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/quota/quotaio_v2.h b/fs/quota/quotaio_v2.h index f1966b42c2fd..4e95430093d9 100644 --- a/fs/quota/quotaio_v2.h +++ b/fs/quota/quotaio_v2.h @@ -13,12 +13,14 @@ */ #define V2_INITQMAGICS {\ 0xd9c01f11, /* USRQUOTA */\ - 0xd9c01927 /* GRPQUOTA */\ + 0xd9c01927, /* GRPQUOTA */\ + 0xd9c03f14, /* PRJQUOTA */\ } #define V2_INITQVERSIONS {\ 1, /* USRQUOTA */\ - 1 /* GRPQUOTA */\ + 1, /* GRPQUOTA */\ + 1, /* PRJQUOTA */\ } /* First generic header */ |