From: shengyong Date: Tue, 26 May 2015 10:07:09 +0000 (+0000) Subject: UBI: Fastmap: Do not add vol if it already exists X-Git-Tag: omap-for-v4.3/legacy-v2-signed~150^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e96a8a3bb671ca02370e85993c3f50ee90691b95;p=pandora-kernel.git UBI: Fastmap: Do not add vol if it already exists 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 Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed