changeset 4547:912e6d3053e8 HEAD

Default _LINUX_QUOTA_VERSION to 1 instead of 2, since older Linux v1 sys/quota.h didn't define it at all.
author Timo Sirainen <tss@iki.fi>
date Mon, 07 Aug 2006 01:22:22 +0300
parents ca9eaace800a
children 2eb8af6f1285
files src/plugins/quota/quota-fs.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c	Mon Aug 07 01:01:15 2006 +0300
+++ b/src/plugins/quota/quota-fs.c	Mon Aug 07 01:22:22 2006 +0300
@@ -24,10 +24,10 @@
 #  define DEV_BSIZE 512
 #endif
 
-/* This most likely should have been defined by above headers already, but
-   in case some OS has less than perfect emulation lets try to handle it. */
+/* Older sys/quota.h doesn't define _LINUX_QUOTA_VERSION at all, which means
+   it supports only v1 quota */
 #ifndef _LINUX_QUOTA_VERSION
-#  define _LINUX_QUOTA_VERSION 2
+#  define _LINUX_QUOTA_VERSION 1
 #endif
 
 struct fs_quota_mountpoint {