dovecot-2.0: quota-fs, Solaris: Don't try to open quotas file wi...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 11 17:56:33 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/e6185d7c9732
changeset: 11519:e6185d7c9732
user: Timo Sirainen <tss at iki.fi>
date: Fri Jun 11 15:56:27 2010 +0100
description:
quota-fs, Solaris: Don't try to open quotas file with NFS mounts.
diffstat:
src/plugins/quota/quota-fs.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 5ede18fe35fa -r e6185d7c9732 src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c Fri Jun 11 15:17:31 2010 +0100
+++ b/src/plugins/quota/quota-fs.c Fri Jun 11 15:56:27 2010 +0100
@@ -224,6 +224,11 @@
unsigned int i, count;
#ifdef FS_QUOTA_SOLARIS
+#ifdef HAVE_RQUOTA
+ if (strcmp(mount->type, "nfs") == 0) {
+ /* using rquota for this mount */
+ } else
+#endif
if (mount->path == NULL) {
mount->path = i_strconcat(mount->mount_path, "/quotas", NULL);
mount->fd = open(mount->path, O_RDONLY);
More information about the dovecot-cvs
mailing list