dovecot: NFS: If index has been deleted, close the index properl...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 15 08:56:02 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/8468e3babea2
changeset: 6371:8468e3babea2
user: Timo Sirainen <tss at iki.fi>
date: Sat Sep 15 08:54:09 2007 +0300
description:
NFS: If index has been deleted, close the index properly before reopening it.
diffstat:
1 file changed, 1 insertion(+)
src/lib-index/mail-index.c | 1 +
diffs (11 lines):
diff -r b755957098cd -r 8468e3babea2 src/lib-index/mail-index.c
--- a/src/lib-index/mail-index.c Tue Sep 11 04:49:34 2007 +0300
+++ b/src/lib-index/mail-index.c Sat Sep 15 08:54:09 2007 +0300
@@ -579,6 +579,7 @@ int mail_index_reopen_if_changed(struct
if (errno != ESTALE)
return mail_index_set_syscall_error(index, "fstat()");
/* deleted/recreated, reopen */
+ mail_index_close_file(index);
return mail_index_try_open_only(index);
}
More information about the dovecot-cvs
mailing list