diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-14 16:09:40 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-16 12:50:16 +0100 |
commit | 332873d60b943c9bf53957c6e334038ac5e9dc6b (patch) | |
tree | f930b7e315d478901d567ec4057cc78e789d3e2c /ipc | |
parent | UBI: allocate write checking buffer on demand (diff) | |
download | linux-332873d60b943c9bf53957c6e334038ac5e9dc6b.tar.xz linux-332873d60b943c9bf53957c6e334038ac5e9dc6b.zip |
UBI: allocate erase checking buffer on demand
Instead of using pre-allocated 'ubi->dbg_peb_buf' buffer in
'ubi_dbg_check_all_ff()', dynamically allocate it when needed. The
intend is to get rid of the pre-allocated 'ubi->dbg_peb_buf' buffer
completely. And the need for this arises because we want to change
to dynamic debugging control instead of compile-time control, i.e.,
we are going to kill the CONFIG_MTD_UBI_DEBUG_PARANOID Kconfig
option, which would mean that 'ubi->dbg_peb_buf' is always allocated,
which would be wasteful.
Thus, we are getting rid of 'ubi->dbg_peb_buf', and this is a
preparation for that.
signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions