dovecot-1.2: fs quota: message/inode values and limits were set ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jun 17 12:36:38 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/e4e9cc00d9ba
changeset: 7845:e4e9cc00d9ba
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 12 23:13:24 2008 +0300
description:
fs quota: message/inode values and limits were set wrong, except for Solaris
diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
src/plugins/quota/quota-fs.c | 8 ++++----
diffs (39 lines):
diff -r 7b39370dae6b -r e4e9cc00d9ba src/plugins/quota/quota-fs.c
--- 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 @@ fs_quota_get_linux(struct fs_quota_root
*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 @@ fs_quota_get_bsdaix(struct fs_quota_root
*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 @@ fs_quota_get_hpux(struct fs_quota_root *
*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 @@ fs_quota_get_solaris(struct fs_quota_roo
*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;
}
More information about the dovecot-cvs
mailing list