[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-lock.c, 1.26, 1.27

tss at dovecot.org tss at dovecot.org
Thu Dec 28 16:51:19 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv1187/lib-storage/index/mbox

Modified Files:
	mbox-lock.c 
Log Message:
More dotlock_use_excl uses.


Index: mbox-lock.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-lock.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- mbox-lock.c	6 Dec 2006 15:08:31 -0000	1.26
+++ mbox-lock.c	28 Dec 2006 16:51:17 -0000	1.27
@@ -249,6 +249,8 @@
         ctx->dotlock_last_stale = -1;
 
 	memset(&set, 0, sizeof(set));
+	set.use_excl_lock = (STORAGE(mbox->storage)->flags &
+			     MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL) != 0;
 	set.timeout = lock_timeout;
 	set.stale_timeout = dotlock_change_timeout;
 	set.callback = dotlock_callback;



More information about the dovecot-cvs mailing list