Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282834
b: refs/heads/master
c: 3538c56
h: refs/heads/master
v: v3
  • Loading branch information
Roman Tereshonkov authored and David Woodhouse committed Jan 9, 2012
1 parent 6be1468 commit d45d474
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f4478ccff7df845dc9c0f8996a96373122c4417
refs/heads/master: 3538c56329936c78f7d356889908790006d0124c
3 changes: 3 additions & 0 deletions trunk/drivers/mtd/mtdoops.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ static void find_next_position(struct mtdoops_context *cxt)
size_t retlen;

for (page = 0; page < cxt->oops_pages; page++) {
if (mtd->block_isbad &&
mtd->block_isbad(mtd, page * record_size))
continue;
/* Assume the page is used */
mark_page_used(cxt, page);
ret = mtd->read(mtd, page * record_size, MTDOOPS_HEADER_SIZE,
Expand Down

0 comments on commit d45d474

Please sign in to comment.