Mercurial > dovecot > core-2.2
changeset 11519:e6185d7c9732 HEAD
quota-fs, Solaris: Don't try to open quotas file with NFS mounts.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 11 Jun 2010 15:56:27 +0100 |
parents | 5ede18fe35fa |
children | f37d19f1c0a3 |
files | src/plugins/quota/quota-fs.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);