[PATCH] ubifs: Correct data corruption range

Artem Bityutskiy dedekind1 at gmail.com
Sat Oct 26 03:35:07 PDT 2013


On Wed, 2013-08-21 at 13:24 +0000, Mats Kärrman wrote:
> With power-cut emulation, it is possible that sometimes no data at all is
> corrupted and that confusing messages are printed due to errors in the
> computation of data corruption range.
> 
> [1] The start of the range should be [0..len-1], not [0..len].
> [2] The end of the range should always be at least 1 greater than the start.
> 
> Signed-off-by: Mats Karrman <mats.karrman at tritech.se>

Picked to linux-ubifs.git, thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list