projects
/
yaffs
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initialise nErasedBlocks
[yaffs/.git]
/
yaffs_guts.c
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index 0ace425f92f3d055bf5ad7ced90354057f344676..87fa7a99d2e3ff82aadce48b6b059d14971db519 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-14,7
+14,7
@@
*/
//yaffs_guts.c
*/
//yaffs_guts.c
-const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.
39 2005-01-24 22:26:45
charles Exp $";
+const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.
40 2005-04-05 03:45:40
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-4789,6
+4789,7
@@
int yaffs_GutsInitialise(yaffs_Device *dev)
dev->eccUnfixed=0;
dev->tagsEccFixed=0;
dev->tagsEccUnfixed=0;
dev->eccUnfixed=0;
dev->tagsEccFixed=0;
dev->tagsEccUnfixed=0;
+ dev->nErasedBlocks=0;
dev->localBuffer = YMALLOC(dev->nBytesPerChunk);
dev->localBuffer = YMALLOC(dev->nBytesPerChunk);