Artem Bityutskiy f5cf319cf3 UBIFS: allocate orphans scan buffer on demand
Instead of using pre-allocated 'c->dbg->buf' buffer in
'dbg_scan_orphans()', dynamically allocate it when needed. The intend
is to get rid of the pre-allocated 'c->dbg->buf' buffer and save
128KiB of RAM (or more if PEB size is larger). Indeed, currently we
allocate this memory even if the user never enables any self-check,
which is wasteful.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-03-16 14:05:25 +02:00
..
2008-12-31 14:13:24 +02:00
2011-03-16 14:05:24 +02:00
2011-03-11 10:52:07 +02:00
2010-10-25 21:26:11 -04:00
2009-03-08 13:29:09 +02:00
2010-09-19 21:07:58 +03:00
2009-07-12 12:22:34 -07:00
2011-03-11 10:52:07 +02:00
2010-09-19 21:07:58 +03:00
2008-07-15 17:35:24 +03:00
2010-09-19 21:07:58 +03:00
2011-02-06 15:08:02 +02:00
2008-09-30 11:12:57 +03:00
2011-01-17 23:24:30 +02:00