]> git.karo-electronics.de Git - linux-beck.git/commit
UBI: Fastmap: Switch to ro mode if invalidate_fastmap() fails
authorRichard Weinberger <richard@nod.at>
Tue, 7 Oct 2014 19:45:19 +0000 (21:45 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:45:59 +0000 (22:45 +0100)
commit2d93fb3632755c170bc684989709e28ef3d22a80
tree7aef6f769a109af63ebcad6c0994cd30bd863a82
parentd141a8ef21ab496ab6f8d188dfe7ca33e16fe798
UBI: Fastmap: Switch to ro mode if invalidate_fastmap() fails

We have to switch to ro mode to guarantee that upon next UBI attach
all data is consistent.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/fastmap.c