[dovecot-cvs] dovecot/src/plugins/quota quota-fs.c, 1.14.2.5, 1.14.2.6

cras at dovecot.org cras at dovecot.org
Mon Aug 7 01:22:20 EEST 2006


Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv26523

Modified Files:
      Tag: branch_1_0
	quota-fs.c 
Log Message:
Default _LINUX_QUOTA_VERSION to 1 instead of 2, since older Linux v1
sys/quota.h didn't define it at all.



Index: quota-fs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-fs.c,v
retrieving revision 1.14.2.5
retrieving revision 1.14.2.6
diff -u -d -r1.14.2.5 -r1.14.2.6
--- quota-fs.c	2 Aug 2006 22:39:24 -0000	1.14.2.5
+++ quota-fs.c	6 Aug 2006 22:22:18 -0000	1.14.2.6
@@ -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 {



More information about the dovecot-cvs mailing list