[dovecot-cvs] dovecot/src/plugins/quota quota-fs.c,1.24,1.25

cras at dovecot.org cras at dovecot.org
Sun Sep 17 21:10:34 EEST 2006


Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv16246

Modified Files:
	quota-fs.c 
Log Message:
Removed quota_set_error() calls.



Index: quota-fs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-fs.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- quota-fs.c	10 Aug 2006 22:03:29 -0000	1.24
+++ quota-fs.c	17 Sep 2006 18:10:32 -0000	1.25
@@ -250,7 +250,6 @@
 		     root->uid, (void *)&dqblk) < 0) {
 		i_error("quotactl(Q_GETQUOTA, %s) failed: %m",
 			root->mount->mount_path);
-		quota_set_error(_root->setup->quota, "Internal quota error");
 		return -1;
 	}
 	*value_r = (uint64_t)dqblk.dqb_curblocks * 1024 / DEV_BSIZE;
@@ -265,7 +264,6 @@
 	ctl.addr = (caddr_t)&dqblk;
 	if (ioctl(root->mount->fd, Q_QUOTACTL, &ctl) < 0) {
 		i_error("ioctl(%s, Q_QUOTACTL) failed: %m", root->mount->path);
-		quota_set_error(_root->setup->quota, "Internal quota error");
 		return -1;
 	}
 	*value_r = (uint64_t)dqblk.dqb_curblocks * 1024 / DEV_BSIZE;



More information about the dovecot-cvs mailing list