diff options
author | Charles Manning <cdhmanning@gmail.com> | 2011-08-15 11:40:30 +1200 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2011-08-15 11:40:30 +1200 |
commit | a7b5dcf904ba6f7890e4b77ce1f56388b855d0f6 (patch) | |
tree | b66129eacb45406a94bf1823ec66269e21640919 /yaffs_guts.c | |
parent | ffb9a41a909210075adf0c529becca54109b2d80 (diff) |
Mods for Linux 3.0 and fix a typo
Roll in NCB's patch and some other changes for Linux 3.0.
Also fix a dumb type retired_writes->retried_writes
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_guts.c')
-rw-r--r-- | yaffs_guts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaffs_guts.c b/yaffs_guts.c index d72aa5b..9ade09b 100644 --- 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); - dev->n_retired_writes += (attempts - 1); + dev->n_retried_writes += (attempts - 1); } 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_retired_writes = 0; + dev->n_retried_writes = 0; dev->n_retired_blocks = 0; |