[JFFS2] Check whether garbage-collection actually obsoleted its victim.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:31:23 +0000 (11:31 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:31:23 +0000 (11:31 +0100)
commit2665ea842dc9f4c04bdb57f8b7c2023759ac8c85
treeeb7fa11e07a8760d4ed819211d9fb936727c4c5f
parent85becc535b7f33be5aefdb8ecea9fac4998e4b6f
[JFFS2] Check whether garbage-collection actually obsoleted its victim.

In OLPC trac #4184 we found a case where a corrupted node didn't
actually get obsoleted when we tried to garbage-collect it. So we wrote
out many million copies of it, in repeated attempts to obsolete it,
until the flash became full. Don't Do That.

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