[PATCH] UBIFS: fix the dark space calculation

Artem Bityutskiy dedekind1 at gmail.com
Sun Sep 11 07:10:10 EDT 2011


On Fri, 2011-08-26 at 16:08 +0530, srimugunthan dhandapani wrote:
> hi,
> The dark space calculation should be 64 bit type-casted ,when
> assigning to tmp64( similar to how total_free is calculated).
> Overflow will occur for very large flashes.

The patch did not apply to the latest UBIFS, but I have amended it.
Pushed to ubifs-2.6.git, thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list