[Dovecot] 1.0 RC1 status #2
Stian Jordet
liste+dovecot at jordet.net
Tue Jun 27 14:05:35 EEST 2006
Timo Sirainen wrote:
> So, again, please test the latest CVS or the latest nightly snapshot
> from http://dovecot.org/nightly/
>
Quota is working very well now - even with xfs. But I have needed this
patch since I first got quota working in january or so. Any reason why
this is needed, and is it only on Linux? Several people have reported
the same problem...
Best regards,
Stian
--- quota-fs.c.orig 2006-06-18 15:46:20.606456150 +0200
+++ quota-fs.c 2006-06-18 15:43:07.299881841 +0200
@@ -243,9 +243,9 @@
}
#endif
*value_r = (uint64_t)dqblk.dqb_curblocks *
- (uint64_t)root->mount->blk_size / 1024;
+ (uint64_t)root->mount->blk_size / 1024 / 4096;
*limit_r = (uint64_t)dqblk.dqb_bsoftlimit *
- (uint64_t)root->mount->blk_size / 1024;
+ (uint64_t)root->mount->blk_size / 1024 / 4;
return 1;
}
More information about the dovecot
mailing list