UBIFS: introduce lsave debugging
commitcdd8ad6e9e78b295e71265762926342523579d10
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Apr 2011 12:43:44 +0000 (5 15:43 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 13 May 2011 16:23:54 +0000 (13 19:23 +0300)
tree7bd96a6f36908b894ca4ceb0419f8da669bd5531
parentbc3f07f0906e867270fdc2006b0bbcb130a722c1
UBIFS: introduce lsave debugging

Try to improve UBIFS testing coverage by randomly picking LEBs to
store in lsave, rather than picking them optimally. Create a debugging
version of 'populate_lsave()' for these purposes and enable it when
general debugging self-checks are enabled.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/lpt_commit.c