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

Artem Bityutskiy dedekind1 at gmail.com
Wed Jul 18 07:32:22 EDT 2012


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
-------------- 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/3736681c/attachment.sig>


More information about the linux-mtd mailing list