From e49491a81d17bbede16583e9cd2498ede4ed2322 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Mon, 26 Mar 2012 15:32:55 +1300 Subject: [PATCH] Put both the summary and checkpoint version stamps together, update checkpoint version Signed-off-by: Charles Manning --- yaffs_guts.h | 4 +++- yaffs_summary.c | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) 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. -- 2.30.2