Skip to content

Commit

Permalink
[JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf …
Browse files Browse the repository at this point in the history
…flush

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed May 22, 2006
1 parent 3b79673 commit a1b563d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/jffs2/wbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad)
return -ENOMEM;
ref->flash_offset = c->wbuf_ofs + c->wbuf_len;
ref->flash_offset |= REF_OBSOLETE;
ref->next_in_ino = NULL;

spin_lock(&c->erase_completion_lock);

Expand Down

0 comments on commit a1b563d

Please sign in to comment.