]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[JFFS2] Correct handling of JFFS2_FEATURE_RWCOMPAT_COPY nodes.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 23:02:06 +0000 (00:02 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 23:02:06 +0000 (00:02 +0100)
commit6171586a7ae5198988774e8480631e8d15f65dfe
treeeef74bde60005c4e39c0c213030b27cb07a5c236
parentfb9fbbcc9389edabb172ac1b6419c01e32046787
[JFFS2] Correct handling of JFFS2_FEATURE_RWCOMPAT_COPY nodes.

We should preserve these when we come to garbage collect them, not let
them get erased. Use jffs2_garbage_collect_pristine() for this, and make
sure the summary code copes -- just refrain from writing a summary for any
block which contains a node we don't understand.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/gc.c
fs/jffs2/nodelist.h
fs/jffs2/scan.c
fs/jffs2/summary.c