]> git.baikalelectronics.ru Git - kernel.git/commit
[JFFS2][SUMMARY] Fix a summary collecting bug.
authorHavasi Ferenc <haf@kpax.(none)>
Tue, 5 Sep 2006 14:08:58 +0000 (16:08 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 16 Sep 2006 08:08:12 +0000 (09:08 +0100)
commit769b6d9716e16c774ada700d909e8bf2c07df565
tree8fe45bdeb4dbd36ad25e4d6764ede7431d4a1dd8
parent55be1e6bb1d523ca41025bb44c5d0de8b5dea8e7
[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.

From: Zoltan Sogor <weth@inf.u-szeged.hu>
Signed-off-by: Ferenc Havasi <havasi@inf.u-szeged.hu>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/summary.c