Mercurial > dovecot > core-2.2
changeset 17933:8c1a2f5b0a67
mbox: Removed obsolete code that also wasn't compiling because of previous commit.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Oct 2014 21:22:45 +0300 |
parents | fa0726178312 |
children | 86b1860c8deb |
files | src/lib-storage/index/mbox/mbox-lock.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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)