[dovecot-cvs] dovecot/src/plugins/quota quota-fs.c, 1.14.2.3, 1.14.2.4

cras at dovecot.org cras at dovecot.org
Sat Jul 1 23:13:50 EEST 2006


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

Modified Files:
      Tag: branch_1_0
	quota-fs.c 
Log Message:
BSD's quotactl() wants a file path, not a device path.



Index: quota-fs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-fs.c,v
retrieving revision 1.14.2.3
retrieving revision 1.14.2.4
diff -u -d -r1.14.2.3 -r1.14.2.4
--- quota-fs.c	27 Jun 2006 22:00:16 -0000	1.14.2.3
+++ quota-fs.c	1 Jul 2006 20:13:48 -0000	1.14.2.4
@@ -227,10 +227,10 @@
 	}
 #elif defined(HAVE_QUOTACTL)
 	/* BSD, AIX */
-	if (quotactl(root->mount->device_path, QCMD(Q_GETQUOTA, USRQUOTA),
+	if (quotactl(root->mount->mount_path, QCMD(Q_GETQUOTA, USRQUOTA),
 		     root->uid, (void *)&dqblk) < 0) {
 		i_error("quotactl(Q_GETQUOTA, %s) failed: %m",
-			root->mount->device_path);
+			root->mount->mount_path);
 		quota_set_error(_root->setup->quota, "Internal quota error");
 		return -1;
 	}



More information about the dovecot-cvs mailing list