commit | 87e773c95eb0b363f2efcc7aff8a347dc18925d0 | [log] [tgz] |
---|---|---|
author | Shmulik Ladkani <shmulik.ladkani@gmail.com> | Wed Jul 04 11:06:04 2012 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> | Wed Jul 18 14:30:34 2012 +0300 |
tree | 76e802802a29567559f4d12d9c4d0ac8cdd63cfb | |
parent | 5c669a5bd8c0f0567127128990d01f9ae320a9ef [diff] |
UBI: harmonize the update of ubi->beb_rsvd_pebs Currently, there are several locations where an attempt to reserve more PEBs for bad PEB handling is made, with the same code being duplicated. Harmonize it by introducing 'ubi_update_reserved()'. Also, improve the debug message issued, making it more descriptive. Artem: amended the patch a little. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>