diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-21 04:45:27 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-21 04:45:27 +0200 |
commit | 7807ef7ba2a41c05f6197381f572dd38baa6c1ce (patch) | |
tree | 73d06f8b60b3e007b49fec33983365938135d2d1 /fs/jffs2/nodelist.h | |
parent | [JFFS2] Fix memory leak in scan code; improve comments. (diff) | |
download | linux-7807ef7ba2a41c05f6197381f572dd38baa6c1ce.tar.xz linux-7807ef7ba2a41c05f6197381f572dd38baa6c1ce.zip |
[JFFS2] Fix summary handling of unknown but compatible nodes.
For RWCOMPAT and ROCOMPAT nodes, we should still allow the mount to
succeed. Just abandon the summary and fall through to the full scan.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/nodelist.h')
-rw-r--r-- | fs/jffs2/nodelist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h index 1f5d5b0100aa..194cff7c4853 100644 --- a/fs/jffs2/nodelist.h +++ b/fs/jffs2/nodelist.h @@ -436,6 +436,7 @@ int jffs2_do_mount_fs(struct jffs2_sb_info *c); /* erase.c */ void jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count); +void jffs2_free_all_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); #ifdef CONFIG_JFFS2_FS_WRITEBUFFER /* wbuf.c */ |