yaffs refactoring: Fix tags compatability bad block marker check
[yaffs2.git] / yaffs_tagscompat.c
index 3d72be4..23e6947 100644 (file)
@@ -350,7 +350,7 @@ static int yaffs_tags_compat_query_block(struct yaffs_dev *dev,
 
        *seq_number = 0;
 
-       yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block + 1,
+       yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block,
                            NULL, &spare0, &dummy, 0);
        yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block + 1,
                            NULL, &spare1, &dummy, 0);