[Dovecot] Possible Bug in quota-fs.c

Martin Konopka martin.konopka at mknetz.de
Mon Feb 19 21:14:47 UTC 2007


Am Montag, 19. Februar 2007 21:14 schrieb Timo Sirainen:
> Hmm. Does it have _LINUX_QUOTA_VERSION defined to 1? You could check
> that by eg. adding somewhere to the quota-fs.c code:
>
> #if _LINUX_QUOTA_VERSION == 1
> #error yes its 1
> #endif
>
> I think the /1024 is correct for 2.6 kernel, or at least I think several
> people have reported it working correctly.. So if 2.4 kernel is quota
> version 1, then I'll add #ifdef to not do the /1024 with it.

Kernel 2.4 has indeed quota version 1:

quota-fs.c:333:2: #error yes its 1
make: *** [quota-fs.lo] Fehler 1

I think I will update to 2.6 soon...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070219/637fc6d9/attachment.pgp 


More information about the dovecot mailing list