about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/sys/quota.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5249fbecfa..6d4143d3eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-18  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
+	(Q_GETNEXTQUOTA): New macro.
+
 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19907]
diff --git a/sysdeps/unix/sysv/linux/sys/quota.h b/sysdeps/unix/sysv/linux/sys/quota.h
index 5aa0ec07d2..316febe875 100644
--- a/sysdeps/unix/sysv/linux/sys/quota.h
+++ b/sysdeps/unix/sysv/linux/sys/quota.h
@@ -119,6 +119,7 @@
 # define Q_SETINFO  0x800006	/* set information about quota files */
 # define Q_GETQUOTA 0x800007	/* get user quota structure */
 # define Q_SETQUOTA 0x800008	/* set user quota structure */
+# define Q_GETNEXTQUOTA 0x800009	/* get disk limits and usage >= ID */
 #endif
 
 /*