summaryrefslogtreecommitdiff
path: root/quota.h
diff options
context:
space:
mode:
authorMasatake YAMATO <yamato@redhat.com>2015-12-16 18:10:00 +0100
committerJan Kara <jack@suse.cz>2015-12-16 18:10:00 +0100
commit50dd12cfdbffea08b01a95ebfbc6eeb1d648c592 (patch)
treedc12cd5f25734a04c5e0d80e3d3e7ff2a5829d0d /quota.h
parentb971998d92381492e3d182987356fb3dbaed5f3a (diff)
downloadlinuxquota-50dd12cfdbffea08b01a95ebfbc6eeb1d648c592.tar.gz
quota_nld: multicast project quota warnings via dbus
Quota subsystem in kernel introduced project quota. This patch improves the userspace side. This patch prevents quota_nld writing warnings to a console when receiving project quota warnings from kernel because there is no such concept, "console associated with a project id". Signed-off-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quota.h')
-rw-r--r--quota.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quota.h b/quota.h
index 6787eab..0c38427 100644
--- a/quota.h
+++ b/quota.h
@@ -11,6 +11,7 @@ typedef int64_t qsize_t; /* Type in which we store size limitations */
#define MAXQUOTAS 2
#define USRQUOTA 0 /* element used for user quotas */
#define GRPQUOTA 1 /* element used for group quotas */
+#define PRJQUOTA 2 /* element used for project quotas */
/*
* Definitions for the default names of the quotas files.