summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/lprops.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-11 14:39:09 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-16 13:05:24 +0100
commit73d9aec3fd212d7bf8af5aa1eca9c79f8a90ad5a (patch)
treef91a454bb4958af70a7e701a1e32c0231e2be548 /fs/ubifs/lprops.c
parentUBIFS: do not check data crc by default (diff)
downloadlinux-73d9aec3fd212d7bf8af5aa1eca9c79f8a90ad5a.tar.xz
linux-73d9aec3fd212d7bf8af5aa1eca9c79f8a90ad5a.zip
UBIFS: allocate dump buffer on demand
Instead of using pre-allocated 'c->dbg->buf' buffer in 'dbg_dump_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/lprops.c')
0 files changed, 0 insertions, 0 deletions