[PATCH] JFFS2: SUMMARY: fix a summary collecting bug
authorZoltan Sogor <weth@inf.u-szeged.hu>
Sat, 16 Sep 2006 19:15:59 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Sep 2006 19:54:32 +0000 (12:54 -0700)
commit27bea3275515e5bd748ed7a492d0df605f5e824a
treeeea0bc13de3a00717a78c6dfa860d09172a09919
parent96da96065bd66164acc3c8a1ea6db4ee765537e9
[PATCH] JFFS2: SUMMARY: fix a summary collecting bug

In some special case (padding because of sync or umount) it can be possible
that summary information is not fit to the end of the erase block.  In
these cases the collecting of summary is disabled for this erase block.

The problem was that this was not respected by jffs2_sum_add_kvec().  This
patch fix this bug.

Signed-off-by: Ferenc Havasi <havasi@inf.u-szeged.hu>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jffs2/summary.c