Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc152250 authored by shengyong's avatar shengyong Committed by Ian Maund
Browse files

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: default avatarSheng Yong <shengyong1@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Git-commit: e96a8a3bb671ca02370e85993c3f50ee90691b95
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent dc748d64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment