Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27876
b: refs/heads/master
c: f560928
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed May 25, 2006
1 parent 50fa237 commit 4490c88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 12efdde3139c568a59561b69865fd14f37c75603
refs/heads/master: f560928baa605e8faaa3de6cc1b11ebb645e97db
7 changes: 2 additions & 5 deletions trunk/fs/jffs2/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,8 @@ int jffs2_scan_medium(struct jffs2_sb_info *c)

D1(printk(KERN_DEBUG "jffs2_scan_medium(): Skipping %d bytes in nextblock to ensure page alignment\n",
skip));
c->nextblock->wasted_size += skip;
c->wasted_size += skip;

c->nextblock->free_size -= skip;
c->free_size -= skip;
jffs2_prealloc_raw_node_refs(c, 1);
jffs2_scan_dirty_space(c, c->nextblock, skip);
}
#endif
if (c->nr_erasing_blocks) {
Expand Down

0 comments on commit 4490c88

Please sign in to comment.