Shmulik Ladkani 87e773c95e 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>
2012-07-18 14:30:34 +03:00
..
2012-01-09 18:25:19 +00:00
2012-01-09 18:25:19 +00:00
2012-05-13 23:03:36 -05:00
2012-01-09 18:26:21 +00:00
2012-06-01 20:06:59 +01:00
2012-05-07 20:29:50 +01:00
2012-03-27 00:24:14 +01:00
2012-01-09 18:26:21 +00:00