From: hno <> Date: Mon, 8 Oct 2001 21:05:11 +0000 (+0000) Subject: The rearrangement of store/file numbers broke the on-disk STORE_META_STD X-Git-Tag: SQUID_3_0_PRE1~1371 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=329e2e6d404d37dc5db660035a7f376a49d5182e;p=thirdparty%2Fsquid.git The rearrangement of store/file numbers broke the on-disk STORE_META_STD TLV field in the on-disk file header. --- diff --git a/src/structs.h b/src/structs.h index 9fc8a0a677..e6bb1b7568 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.400 2001/09/27 21:59:22 hno Exp $ + * $Id: structs.h,v 1.401 2001/10/08 15:05:11 hno Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -1481,15 +1481,17 @@ struct _StoreEntry { hash_link hash; /* must be first */ MemObject *mem_obj; RemovalPolicyNode repl; + /* START OF ON-DISK STORE_META_STD TLV field */ time_t timestamp; time_t lastref; time_t expires; time_t lastmod; size_t swap_file_sz; - sfileno swap_filen:25; - sdirno swap_dirn:7; u_short refcount; u_short flags; + /* END OF ON-DISK STORE_META_STD */ + sfileno swap_filen:25; + sdirno swap_dirn:7; u_short lock_count; /* Assume < 65536! */ mem_status_t mem_status:3; ping_status_t ping_status:3;