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

Artem Bityutskiy dedekind1 at gmail.com
Wed Jul 18 07:01:12 EDT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120718/48d85bc3/attachment-0001.sig>


More information about the linux-mtd mailing list