dovecot-2.2: mbox: Removed obsolete code that also wasn't compil...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 9 18:23:20 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/8c1a2f5b0a67
changeset: 17933:8c1a2f5b0a67
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 09 21:22:45 2014 +0300
description:
mbox: Removed obsolete code that also wasn't compiling because of previous commit.
diffstat:
src/lib-storage/index/mbox/mbox-lock.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r fa0726178312 -r 8c1a2f5b0a67 src/lib-storage/index/mbox/mbox-lock.c
--- a/src/lib-storage/index/mbox/mbox-lock.c Thu Oct 09 18:19:03 2014 +0000
+++ b/src/lib-storage/index/mbox/mbox-lock.c Thu Oct 09 21:22:45 2014 +0300
@@ -798,11 +798,6 @@
i_assert(lock_type == F_RDLCK || lock_type == F_WRLCK);
i_assert(lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK);
- /* mbox must be locked before index (the NULL check is for
- MAILBOX_FLAG_KEEP_LOCKED) */
- i_assert(mbox->box.index == NULL ||
- mbox->box.index->lock_type != F_WRLCK);
-
if (mbox->mbox_lock_type == F_UNLCK) {
ret = mbox_update_locking(mbox, lock_type, &fcntl_locked);
if (ret <= 0)
More information about the dovecot-cvs
mailing list