]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit25970c5eda6b52801b28ea351154ae85bea4da21
treeeea0bc13de3a00717a78c6dfa860d09172a09919
parentbf3de5353c12ef74e3d4100c20609d90dee136e3
[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