Re: [PATCH 2/5] ubi: Limit amount of reserved eraseblocks for bad PEB handling

Artem Bityutskiy
2012-07-18T11:06:51Z

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On Wed, 2012-07-18 at 13:28 +0300, Artem Bityutskiy wrote:
> > ubi->bad_peb_count += 1;
> > ubi->good_peb_count -= 1;
> > ubi_calculate_reserved(ubi);
> We do not need to call this function from here, right?

Err, sorry, it _is_ needed!

--
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]