Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27802
b: refs/heads/master
c: 8e4482f
h: refs/heads/master
v: v3
  • Loading branch information
Ferenc Havasi authored and David Woodhouse committed May 19, 2006
1 parent b13b420 commit a71417f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aef9ab47841af45888d950baa6448072cc70bdd5
refs/heads/master: 8e4482fba21d15da99f39a13396d3361e810d199
11 changes: 0 additions & 11 deletions trunk/fs/jffs2/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,23 +365,12 @@ static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblo
}

kfree(sm);

ofs = jeb->offset;
prevofs = jeb->offset - 1;
}

buf_ofs = jeb->offset;

if (!buf_size) {
buf_len = c->sector_size;

if (jffs2_sum_active()) {
/* must reread because of summary test */
err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len);
if (err)
return err;
}

} else {
buf_len = EMPTY_SCAN_SIZE(c->sector_size);
err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len);
Expand Down

0 comments on commit a71417f

Please sign in to comment.