summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-04 17:16:39 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-05 11:07:37 +0300
commit7da6443aca9be29c6948dcbd636ad50154d0bc0c (patch)
treee7489f3d988171c4737f46ce6120411e995ed2ac /drivers/mtd
parent95169535113073993a3ed97ecc21831657f42a80 (diff)
UBIFS: fix debugging failure in dbg_check_space_info
This patch fixes a debugging failure with which looks like this: UBIFS error (pid 32313): dbg_check_space_info: free space changed from 6019344 to 6022654 The reason for this failure is described in the comment this patch adds to the code. But in short - 'c->freeable_cnt' may be different before and after re-mounting, and this is normal. So the debugging code should make sure that free space calculations do not depend on 'c->freeable_cnt'. A similar issue has been reported here: http://lists.infradead.org/pipermail/linux-mtd/2011-April/034647.html This patch should fix it. For the -stable guys: this patch is only relevant for kernels 2.6.30 onwards. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Cc: stable@kernel.org [2.6.30+]
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions