# HG changeset patch # User Timo Sirainen # Date 1189840802 -10800 # Node ID b734f6cf4bd8956470cbbc37ca356bd805a03801 # Parent 12d4b757b82522e3547d4d44f3bc6445dbf17645 Removed MAIL_INDEX_HDR_FLAG_FSCK. It's not used anymore. 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 @@ -57,8 +57,6 @@ 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 = sizeof(struct mail_transaction_log_header); 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 @@ 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 { /* 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 {