]> git.karo-electronics.de Git - linux-beck.git/commit
UBI: Fastmap: Fix fastmap usage in ubi_volume_notify()
authorRichard Weinberger <richard@nod.at>
Mon, 6 Oct 2014 13:14:16 +0000 (15:14 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:45:56 +0000 (22:45 +0100)
commit84b678f497c6eda650f0640bd7cf165e2c1acb49
treeecf988ffbf6dd30f63ed4099aae3fd3708c575e6
parent5e0246e332349751d39d186ea0b7ec1e371ab2f8
UBI: Fastmap: Fix fastmap usage in ubi_volume_notify()

There is no need to switch to ro mode if ubi_update_fastmap() fails.
Also get rid of the ifdef.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Tanya Brokhman <tlinder@codeaurora.org>
drivers/mtd/ubi/build.c