diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-22 13:55:46 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-22 13:55:46 +0100 |
commit | a1b563d652b54647ffacb2d6edf7859d3e97a723 (patch) | |
tree | 94f706c3070acee9d5b246846b8d748dfcb4cc06 /fs/jffs2 | |
parent | 3b79673cfae93d0ed63eceb058bb26aba602a278 (diff) | |
download | linux-a1b563d652b54647ffacb2d6edf7859d3e97a723.tar.bz2 |
[JFFS2] Initialise ref->next_in_ino when marking dirty space in wbuf flush
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | 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 404b547c6cf4..45e3573cf107 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); |