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

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon May 22 09:59:01 EDT 2006


Commit:     a1b563d652b54647ffacb2d6edf7859d3e97a723
Parent:     3b79673cfae93d0ed63eceb058bb26aba602a278
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Mon May 22 13:55:46 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Mon May 22 13:55:46 2006 +0100

    [JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf flush
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

 fs/jffs2/wbuf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/jffs2/wbuf.c b/fs/jffs2/wbuf.c
index 404b547..45e3573 100644
--- a/fs/jffs2/wbuf.c
+++ b/fs/jffs2/wbuf.c
@@ -507,6 +507,7 @@ #endif
 			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);
 



More information about the linux-mtd-cvs mailing list