]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
UBI: improve delete-compatible volumes handling
authorBrijesh Singh <brijesh.s.singh@gmail.com>
Wed, 16 Jun 2010 06:28:26 +0000 (09:28 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 16 Jun 2010 06:39:49 +0000 (09:39 +0300)
commit158132c9abbccce802def10e5ffaf044b266a6e1
treed7d1532ace65bc89f9f4cf6e11c74ea745d079c4
parentf5d5b1f8c12a7637ee1145f2f00358eb375edb54
UBI: improve delete-compatible volumes handling

When a delete-compatible volume is found, it is first added to the
'corr' list, which contains "corrupted" PEBs which should be erased,
and then it is added to the used volumes tree. However, the second
step should not be done. This does not cause problems in practice,
because we never access delete-compattible volumes, but it is still
not the right thing to do.

[Artem: amended the commit message and few prints]

Signed-off-by: Brijesh Singh <brijesh.s.singh@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c