dovecot-1.2: quota-fs, Solaris: Don't try to open quotas file wi...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 11 17:56:42 EEST 2010
details: http://hg.dovecot.org/dovecot-1.2/rev/edc7da213d4c
changeset: 9581:edc7da213d4c
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 0b0cb71aea03 -r edc7da213d4c src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c Fri Jun 11 15:03:22 2010 +0100
+++ b/src/plugins/quota/quota-fs.c Fri Jun 11 15:56:27 2010 +0100
@@ -209,6 +209,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