diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-04-23 01:17:51 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-23 01:24:17 +0100 |
commit | 85a62db6245a82f07a31b387915ee2180b9ea11a (patch) | |
tree | 9de37a0f9267f92aac41e817c5e8fec6887400a1 /fs/ocfs2 | |
parent | 014b164e1392a166fe96e003d2f0e7ad2e2a0bb7 (diff) | |
download | linux-stable-85a62db6245a82f07a31b387915ee2180b9ea11a.tar.gz linux-stable-85a62db6245a82f07a31b387915ee2180b9ea11a.tar.bz2 linux-stable-85a62db6245a82f07a31b387915ee2180b9ea11a.zip |
[JFFS2] Add paranoia debugging for superblock counts
The problem fixed in commit 014b164e1392a166fe96e003d2f0e7ad2e2a0bb7
(space leak with in-band cleanmarkers) would have been caught a lot
quicker if our paranoid debugging mode had included adding up the size
counts from all the eraseblocks and comparing the totals with the counts
in the superblock. Add that.
Make jffs2_mark_erased_block() file the newly-erased block on the
free_list before calling the debug function, to make it happy.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions