projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
447f474
)
yaffs: Fix incorrect incrementing in summary writing.
author
Charles Manning
<cdhmanning@gmail.com>
Sun, 3 Apr 2011 19:13:28 +0000
(07:13 +1200)
committer
Charles Manning
<cdhmanning@gmail.com>
Sun, 3 Apr 2011 19:13:28 +0000
(07:13 +1200)
Should only be incremented once.
yaffs_summary.c
patch
|
blob
|
history
diff --git
a/yaffs_summary.c
b/yaffs_summary.c
index b9ef0d28de6bf49aaf148e6ca654b0ad0e23cd54..4cf171117766db42f27330030ae4035b7a19a8c4 100644
(file)
--- 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);