aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/erase.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/erase.c')
-rw-r--r--fs/jffs2/erase.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c
index f677d6950fd4..0fc19a2fb5d9 100644
--- a/fs/jffs2/erase.c
+++ b/fs/jffs2/erase.c
@@ -410,10 +410,9 @@ static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseb
410 /* Everything else got zeroed before the erase */ 410 /* Everything else got zeroed before the erase */
411 jeb->free_size = c->sector_size; 411 jeb->free_size = c->sector_size;
412 412
413 marker_ref->next_in_ino = NULL;
414 marker_ref->flash_offset = jeb->offset | REF_NORMAL; 413 marker_ref->flash_offset = jeb->offset | REF_NORMAL;
415 414
416 jffs2_link_node_ref(c, jeb, marker_ref, c->cleanmarker_size); 415 jffs2_link_node_ref(c, jeb, marker_ref, c->cleanmarker_size, NULL);
417 } 416 }
418 417
419 spin_lock(&c->erase_completion_lock); 418 spin_lock(&c->erase_completion_lock);