aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/orphan.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-11 16:58:39 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-16 14:05:25 +0200
commitcab95d446cb766062fa7e2e7e326035d7c65b803 (patch)
tree5024518810d8d2b3d4e3ff43d003142a42184552 /fs/ubifs/orphan.c
parentUBIFS: allocate ltab checking buffer on demand (diff)
downloadlinux-dev-cab95d446cb766062fa7e2e7e326035d7c65b803.tar.xz
linux-dev-cab95d446cb766062fa7e2e7e326035d7c65b803.zip
UBIFS: allocate lpt dump buffer on demand
Instead of using pre-allocated 'c->dbg->buf' buffer in 'dump_lpt_leb()', 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/ubifs/orphan.c')
0 files changed, 0 insertions, 0 deletions