projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mods for Linux 3.0 and fix a typo
[yaffs2.git]
/
yaffs_guts.c
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index d72aa5ba9e5a59c1c3722664fccd881b7694d3c1..9ade09b54e51680c7c507b3bc21566108144bbc6 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-598,7
+598,7
@@
static int yaffs_write_new_chunk(struct yaffs_dev *dev,
yaffs_trace(YAFFS_TRACE_ERROR,
"**>> yaffs write required %d attempts",
attempts);
yaffs_trace(YAFFS_TRACE_ERROR,
"**>> yaffs write required %d attempts",
attempts);
- dev->n_ret
ir
ed_writes += (attempts - 1);
+ dev->n_ret
ri
ed_writes += (attempts - 1);
}
return chunk;
}
return chunk;
@@
-4878,7
+4878,7
@@
int yaffs_guts_initialise(struct yaffs_dev *dev)
dev->n_page_writes = 0;
dev->n_erasures = 0;
dev->n_gc_copies = 0;
dev->n_page_writes = 0;
dev->n_erasures = 0;
dev->n_gc_copies = 0;
- dev->n_ret
ir
ed_writes = 0;
+ dev->n_ret
ri
ed_writes = 0;
dev->n_retired_blocks = 0;
dev->n_retired_blocks = 0;