[PATCH] UBI: fix delete compatible internal volume scan
Artem Bityutskiy
dedekind1 at gmail.com
Sun May 23 02:16:57 EDT 2010
On Tue, 2010-05-18 at 23:10 +0530, Brijesh Singh wrote:
> This patch resolves a possible bug. Scan is adding delete compatible
> blocks to both corr list and used list.
> It should return after adding the block to corr list.
>
> Signed-off-by: Brijesh Singh <brijesh.s.singh at gmail.com>
I'm not sure this patch is enough. I think we should add a 'compat' flag
to the 'struct ubi_mkvol_req' structure, to make it possible to create
volumes with different compatibility flags. Then we need to write a test
and add it to the UBI test-suite at 'mtd-utils/tests/ubi-tests/'.
Then once we have tested and fixed this, we should merge this and also
send to the '-stable' trees.
I remember I did give the compat option a test, but probably not that
good.
I'll try to do what I've described as soon as I have time, but you guys
could do this as well, if you have bandwidth.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list