[PATCH] ubi_create_gluebi: Initialize static volumes with vol->used_bytes

Artem Bityutskiy dedekind at infradead.org
Fri Mar 28 11:29:04 EDT 2008


On Fri, 2008-03-28 at 16:13 +0100, Jan Altenberg wrote:
> Hi all,
> 
> I came across a problem which seems to be present since:
> 
> commit 941dfb07ed91451b1c58626a0d258dfdf468b593
> UBI: set correct gluebi device size
> 
> ubi_create_gluebi() leaves mtd->size = 0 for static volumes. So even
> existing static volumes are initialized with a size of 0.
> See attached patch (applies on top of latest git).

Fair enough, applied, thank you!

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




More information about the linux-mtd mailing list