diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-18 14:11:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-07 08:35:55 -0700 |
commit | 905c44046f28fa8310ed74c7e460548da96d38fc (patch) | |
tree | f9eac2ab4ee52870c82c93a7fa0e2b67470bdae6 /lib/mpi/mpi-mpow.c | |
parent | 03d56491e106accd52a892be190e9ced2c383463 (diff) |
UBI: fix autoresize handling in R/O mode
commit abb3e01103eb4e2ea5c15e6fedbc74e08bd4cc2b 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>
Diffstat (limited to 'lib/mpi/mpi-mpow.c')
0 files changed, 0 insertions, 0 deletions