UBI: Fastmap: Do not add vol if it already exists
authorshengyong <shengyong1@huawei.com>
Tue, 26 May 2015 10:07:09 +0000 (10:07 +0000)
committerRichard Weinberger <richard@nod.at>
Tue, 2 Jun 2015 09:46:14 +0000 (11:46 +0200)
During fastmap attaching, check if a volume already exists when adding
the volume to volume tree. NOTE that the issue cannot happen, only if
the on-flash fastmap data is modified.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>

No differences found