提交 a1b563d6 编写于 作者: D David Woodhouse

[JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf flush

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 3b79673c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册