dovecot-2.2: dbox: Removed unused code.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 13 22:58:33 EET 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/9927ab6b99a1
changeset: 17098:9927ab6b99a1
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 13 15:58:13 2014 -0500
description:
dbox: Removed unused code.

diffstat:

 src/lib-storage/index/dbox-common/dbox-file.h |  1 -
 src/lib-storage/index/dbox-multi/mdbox-file.c |  2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 3df6ebae9e5a -r 9927ab6b99a1 src/lib-storage/index/dbox-common/dbox-file.h
--- a/src/lib-storage/index/dbox-common/dbox-file.h	Mon Jan 13 22:44:34 2014 +0200
+++ b/src/lib-storage/index/dbox-common/dbox-file.h	Mon Jan 13 15:58:13 2014 -0500
@@ -121,7 +121,6 @@
 	uoff_t metadata_read_offset;
 
 	unsigned int appending:1;
-	unsigned int deleted:1;
 	unsigned int corrupted:1;
 };
 
diff -r 3df6ebae9e5a -r 9927ab6b99a1 src/lib-storage/index/dbox-multi/mdbox-file.c
--- a/src/lib-storage/index/dbox-multi/mdbox-file.c	Mon Jan 13 22:44:34 2014 +0200
+++ b/src/lib-storage/index/dbox-multi/mdbox-file.c	Mon Jan 13 15:58:13 2014 -0500
@@ -278,7 +278,7 @@
 
 	if (mfile->file_id != 0) {
 		count = array_count(&mfile->storage->open_files);
-		if (!file->deleted && count <= MDBOX_MAX_OPEN_UNUSED_FILES) {
+		if (count <= MDBOX_MAX_OPEN_UNUSED_FILES) {
 			/* we can leave this file open for now */
 			mdbox_file_close_later(mfile);
 			return;


More information about the dovecot-cvs mailing list