linux/drivers/mtd/ubi
Artem Bityutskiy 56a631f3bf UBI: fix autoresize handling in R/O mode
commit abb3e01103 upstream.

Currently UBI fails in autoresize when it is in R/O mode (e.g., because the
underlying MTD device is R/O). This patch fixes the issue - we just skip
autoresize and print a warning.

Reported-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-07 08:32:28 -07:00
..
build.c UBI: fix autoresize handling in R/O mode 2012-10-07 08:32:28 -07:00
cdev.c UBI: fix nameless volumes handling 2012-01-15 15:06:08 +02:00
debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debug.h UBI: fix debugging messages 2012-01-11 18:35:53 +02:00
eba.c UBI: rename MOVE_CANCEL_BITFLIPS to MOVE_TARGET_BITFLIPS 2012-03-09 10:31:18 +02:00
gluebi.c mtd: remove R/O checking duplication 2012-03-27 00:29:11 +01:00
io.c UBI: rename peb_buf1 to peb_buf 2012-03-09 09:39:31 +02:00
kapi.c mtd: do not use mtd->sync directly 2012-01-09 18:26:21 +00:00
Kconfig UBI: do not select KALLSYMS_ALL 2011-04-05 11:08:59 +03:00
Makefile UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
misc.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.c UBI: rename peb_buf1 to peb_buf 2012-03-09 09:39:31 +02:00
scan.h UBI: add slab cache for ubi_scan_leb objects 2011-02-06 19:19:23 +02:00
ubi-media.h UBI: use __packed instead of __attribute__((packed)) 2011-04-14 11:34:41 +03:00
ubi.h UBI: rename MOVE_CANCEL_BITFLIPS to MOVE_TARGET_BITFLIPS 2012-03-09 10:31:18 +02:00
upd.c UBI: fix memory leak in update path 2010-01-18 18:53:56 +02:00
vmt.c mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:11 -04:00
vtbl.c UBI: fix a horrible memory deallocation bug 2012-10-02 10:30:38 -07:00
wl.c UBI: rename MOVE_CANCEL_BITFLIPS to MOVE_TARGET_BITFLIPS 2012-03-09 10:31:18 +02:00