Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7845:e4e9cc00d9ba HEAD
fs quota: message/inode values and limits were set wrong, except for Solaris
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 12 Jun 2008 23:13:24 +0300 |
parents | 7b39370dae6b |
children | f4c53ad3610f |
files | src/plugins/quota/quota-fs.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c Thu Jun 12 23:11:45 2008 +0300 +++ b/src/plugins/quota/quota-fs.c Thu Jun 12 23:13:24 2008 +0300 @@ -455,7 +455,7 @@ *limit_r = dqblk.dqb_bsoftlimit * 1024; } else { *value_r = dqblk.dqb_curinodes; - *value_r = dqblk.dqb_isoftlimit; + *limit_r = dqblk.dqb_isoftlimit; } } return 1; @@ -488,7 +488,7 @@ *limit_r = (uint64_t)dqblk.dqb_bsoftlimit * DEV_BSIZE; } else { *value_r = dqblk.dqb_curinodes; - *value_r = dqblk.dqb_isoftlimit; + *limit_r = dqblk.dqb_isoftlimit; } return 1; } @@ -517,7 +517,7 @@ *limit_r = (uint64_t)dqblk.dqb_bsoftlimit * DEV_BSIZE; } else { *value_r = dqblk.dqb_curinodes; - *value_r = dqblk.dqb_isoftlimit; + *limit_r = dqblk.dqb_isoftlimit; } return 1; } @@ -546,7 +546,7 @@ *limit_r = (uint64_t)dqblk.dqb_bsoftlimit * DEV_BSIZE; } else { *value_r = dqblk.dqb_curfiles; - *value_r = dqblk.dqb_fsoftlimit; + *limit_r = dqblk.dqb_fsoftlimit; } return 1; }