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

Artem Bityutskiy
2012-07-18T11:38:12Z

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

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]