diff options
author | 2011-03-11 17:11:25 +0200 | |
---|---|---|
committer | 2011-03-16 14:05:25 +0200 | |
commit | f5cf319cf32d2284b3fbc24f3c526e2a9363b4ac (patch) | |
tree | 0d9a970edf83931e3fe7dbda8e2501aed87eb6c2 /fs/jbd2/commit.c | |
parent | UBIFS: allocate lpt dump buffer on demand (diff) | |
download | linux-rng-f5cf319cf32d2284b3fbc24f3c526e2a9363b4ac.tar.xz linux-rng-f5cf319cf32d2284b3fbc24f3c526e2a9363b4ac.zip |
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions