[PATCH] [UBI] Volume table update fix

Artem Bityutskiy dedekind at infradead.org
Mon Jun 22 09:11:54 EDT 2009


On Mon, 2009-06-22 at 16:44 +0530, Brijesh Singh wrote:
> Hi Artem,
>     Thanks for the comments.Sending the cleaned up patch.
> 
>     This patch fixes the consistency problem during volume update.
> UBI writes two copies of vtbl during volume update. If the first  copy  was
> successfully written, and second copy fails, UBI returns failure. But UBI
> recovers updated vtbl during next mount. So it should have returned success.
> It should go to read only mode to avoid further failures.
> 
> Signed-off-by: Brijesh Singh <brij.singh at samsung.com>

Applied with minor amendments, thanks.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list