]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf flush
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 May 2006 12:55:46 +0000 (13:55 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 May 2006 12:55:46 +0000 (13:55 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/wbuf.c

index 404b547c6cf4e87cb016bab6b8ce87dfb63c2dcf..45e3573cf1078001e971361ce1b28cd44170862a 100644 (file)
@@ -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);