diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-14 16:06:52 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-16 12:50:16 +0100 |
commit | a75867432a7eb2cdcaa8613a3b72b1d0594dd930 (patch) | |
tree | f83b3760bf171a3402ff48616726c6c71d01df2c /fs/affs | |
parent | UBI: always re-read in case of read failures (diff) | |
download | linux-a75867432a7eb2cdcaa8613a3b72b1d0594dd930.tar.xz linux-a75867432a7eb2cdcaa8613a3b72b1d0594dd930.zip |
UBI: allocate write checking buffer on demand
Instead of using pre-allocated 'ubi->dbg_peb_buf' buffer in
'ubi_dbg_check_write()', 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 '')
0 files changed, 0 insertions, 0 deletions