#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.
tags.obj_id != YAFFS_OBJECTID_SUMMARY ||
tags.chunk_used == 0 ||
tags.ecc_result > YAFFS_ECC_RESULT_FIXED ||
- this_tx != tags.n_bytes)
+ tags.n_bytes != (this_tx + sizeof(hdr)))
result = YAFFS_FAIL;
if (result != YAFFS_OK)
break;