From: Charles Manning Date: Mon, 26 Mar 2012 02:32:55 +0000 (+1300) Subject: Put both the summary and checkpoint version stamps together, update checkpoint version X-Git-Tag: pre-driver-refactoring~23 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=e49491a81d17bbede16583e9cd2498ede4ed2322 Put both the summary and checkpoint version stamps together, update checkpoint version Signed-off-by: Charles Manning --- diff --git a/yaffs_guts.h b/yaffs_guts.h index b3bc574..a9fdde2 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -75,7 +75,9 @@ #define YAFFS_OBJECT_SPACE 0x40000 #define YAFFS_MAX_OBJECT_ID (YAFFS_OBJECT_SPACE - 1) -#define YAFFS_CHECKPOINT_VERSION 5 +/* Binary data version stamps */ +#define YAFFS_SUMMARY_VERSION 1 +#define YAFFS_CHECKPOINT_VERSION 6 #ifdef CONFIG_YAFFS_UNICODE #define YAFFS_MAX_NAME_LENGTH 127 diff --git a/yaffs_summary.c b/yaffs_summary.c index 20b27d8..def0052 100644 --- a/yaffs_summary.c +++ b/yaffs_summary.c @@ -29,8 +29,6 @@ #include "yaffs_getblockinfo.h" #include "yaffs_bitmap.h" -#define YAFFS_SUMMARY_VERSION 1 - /* * The summary is built up in an array of summary tags. * This gets written to the last one or two (maybe more) chunks in a block.