changeset 7354:de47a37ca0c1 HEAD

NFS checking checks now mail_nfs_index=yes instead of mmap_disable=yes.
author Timo Sirainen <tss@iki.fi>
date Wed, 05 Mar 2008 02:59:55 +0200
parents 33304b5f6070
children 5193f5c6ab5d
files src/master/mail-process.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/mail-process.c	Wed Mar 05 02:54:33 2008 +0200
+++ b/src/master/mail-process.c	Wed Mar 05 02:59:55 2008 +0200
@@ -513,7 +513,7 @@
 		return;
 
 	i_fatal("Mailbox indexes in %s are in NFS mount. "
-		"You must set mmap_disable=yes to avoid index corruptions. "
+		"You must set mail_nfs_index=yes to avoid index corruptions. "
 		"If you're sure this check was wrong, set nfs_check=no.", path);
 }
 
@@ -655,7 +655,7 @@
 
 	/* See if we need to do the initial NFS check. We want to do this only
 	   once, so the check code needs to be before fork(). */
-	if (set->nfs_check && !set->mmap_disable && !dump_capability) {
+	if (set->nfs_check && !set->mail_nfs_index && !dump_capability) {
 		set->nfs_check = FALSE;
 		nfs_check = TRUE;
 	} else {