dovecot-1.2: quota-fs: Default to user quota with NFS, not group...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jul 7 22:15:02 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/534de78dbe84
changeset: 9192:534de78dbe84
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jul 07 15:14:54 2009 -0400
description:
quota-fs: Default to user quota with NFS, not group quota.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/quota/quota-fs.c |    2 +-

diffs (12 lines):

diff -r b340ecb24469 -r 534de78dbe84 src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c	Tue Jul 07 21:01:36 2009 +0200
+++ b/src/plugins/quota/quota-fs.c	Tue Jul 07 15:14:54 2009 -0400
@@ -753,7 +753,7 @@ fs_quota_get_resource(struct quota_root 
 #ifdef HAVE_RQUOTA
 	if (strcmp(root->mount->type, "nfs") == 0) {
 		T_BEGIN {
-			ret = root->group_disabled ?
+			ret = !root->user_disabled ?
 				do_rquota_user(root, bytes, value_r, &limit) :
 				do_rquota_group(root, bytes, value_r, &limit);
 		} T_END;


More information about the dovecot-cvs mailing list