From: David Woodhouse Date: Mon, 22 May 2006 12:55:46 +0000 (+0100) Subject: [JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf flush X-Git-Tag: v2.6.18-rc1~1105^2~71 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1b563d652b54647ffacb2d6edf7859d3e97a723;p=linux-2.6 [JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf flush Signed-off-by: David Woodhouse --- diff --git a/fs/jffs2/wbuf.c b/fs/jffs2/wbuf.c index 404b547c6c..45e3573cf1 100644 --- a/fs/jffs2/wbuf.c +++ b/fs/jffs2/wbuf.c @@ -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);