From 8e0281ff8c5904d1dbb5b41f3cfadfb05f139437 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Mon, 4 Apr 2011 07:13:28 +1200 Subject: [PATCH] yaffs: Fix incorrect incrementing in summary writing. Should only be incremented once. --- yaffs_summary.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/yaffs_summary.c b/yaffs_summary.c index b9ef0d2..4cf1711 100644 --- a/yaffs_summary.c +++ b/yaffs_summary.c @@ -119,8 +119,6 @@ static int yaffs_summary_write(struct yaffs_dev *dev, int blk) chunk_in_nand++; chunk_in_block++; tags.chunk_id++; - - chunk_in_block++; } while (result == YAFFS_OK && n_bytes > 0); yaffs_release_temp_buffer(dev, buffer); -- 2.30.2