dovecot: Removed MAIL_INDEX_HDR_FLAG_FSCK. It's not used anymore.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 15 10:27:33 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/b734f6cf4bd8
changeset: 6379:b734f6cf4bd8
user: Timo Sirainen <tss at iki.fi>
date: Sat Sep 15 10:20:02 2007 +0300
description:
Removed MAIL_INDEX_HDR_FLAG_FSCK. It's not used anymore.
diffstat:
3 files changed, 1 insertion(+), 8 deletions(-)
src/lib-index/mail-index-fsck.c | 2 --
src/lib-index/mail-index-map.c | 3 ---
src/lib-index/mail-index.h | 4 +---
diffs (39 lines):
diff -r 12d4b757b825 -r b734f6cf4bd8 src/lib-index/mail-index-fsck.c
--- a/src/lib-index/mail-index-fsck.c Sat Sep 15 10:11:58 2007 +0300
+++ b/src/lib-index/mail-index-fsck.c Sat Sep 15 10:20:02 2007 +0300
@@ -56,8 +56,6 @@ static int mail_index_fsck_map(struct ma
if (hdr.uid_validity == 0 && hdr.next_uid != 1)
hdr.uid_validity = ioloop_time;
-
- hdr.flags &= ~MAIL_INDEX_HDR_FLAG_FSCK;
if (hdr.log_file_seq < file_seq) {
hdr.log_file_head_offset = hdr.log_file_tail_offset =
diff -r 12d4b757b825 -r b734f6cf4bd8 src/lib-index/mail-index-map.c
--- a/src/lib-index/mail-index-map.c Sat Sep 15 10:11:58 2007 +0300
+++ b/src/lib-index/mail-index-map.c Sat Sep 15 10:20:02 2007 +0300
@@ -391,9 +391,6 @@ int mail_index_map_check_header(struct m
return -1;
}
- if ((hdr->flags & MAIL_INDEX_HDR_FLAG_FSCK) != 0)
- return 0;
-
if (hdr->uid_validity == 0 && hdr->next_uid != 1)
return 0;
if (hdr->next_uid == 0)
diff -r 12d4b757b825 -r b734f6cf4bd8 src/lib-index/mail-index.h
--- a/src/lib-index/mail-index.h Sat Sep 15 10:11:58 2007 +0300
+++ b/src/lib-index/mail-index.h Sat Sep 15 10:20:02 2007 +0300
@@ -31,9 +31,7 @@ enum mail_index_header_flag {
enum mail_index_header_flag {
/* Index file is corrupted, reopen or recreate it. */
MAIL_INDEX_HDR_FLAG_CORRUPTED = 0x0001,
- MAIL_INDEX_HDR_FLAG_HAVE_DIRTY = 0x0002,
- /* fsck the index next time when opening */
- MAIL_INDEX_HDR_FLAG_FSCK = 0x0004
+ MAIL_INDEX_HDR_FLAG_HAVE_DIRTY = 0x0002
};
enum mail_index_mail_flags {
More information about the dovecot-cvs
mailing list