ubi: suspicious calculation in 'ubi_wl_get_peb'

Artem Bityutskiy dedekind1 at gmail.com
Wed Mar 7 12:31:32 EST 2012


On Wed, 2012-03-07 at 19:20 +0200, Artem Bityutskiy wrote:
> On Fri, 2012-02-17 at 15:38 +0200, Shmulik Ladkani wrote:
> > -			e = find_wl_entry(&ubi->free, medium_ec);
> > +			e = find_wl_entry(&ubi->free, WL_FREE_MAX_DIFF/2)
> > 
> > Did I get something wrong?
> 
> Yeah, I think you are right. Now I am completely convinced we should
> remove this "short/long-term" stuff because this did even work
> correctly :-)

Sorry, s/did even/did NOT even/

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list