Re: [PATCH 5/5] ubi: harmonize the update of ubi->beb_rsvd_pebs

From: Artem Bityutskiy
Date: Wed Jul 18 2012 - 07:37:50 EST


On Wed, 2012-07-04 at 11:06 +0300, Shmulik Ladkani wrote:
> + need = ubi->avail_pebs >= need ? need : ubi->avail_pebs;

Changed this line to
need = min_t(int, need, ubi->avail_pebs);

and pushed to the master branch. Thanks!

--
Best Regards,
Artem Bityutskiy

Attachment: signature.asc
Description: This is a digitally signed message part