mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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 <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>