From: Artem Bityutskiy Date: Sat, 18 Aug 2012 12:11:42 +0000 (+0200) Subject: UBI: fix autoresize handling in R/O mode X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abb3e01103eb4e2ea5c15e6fedbc74e08bd4cc2b;p=pandora-kernel.git UBI: fix autoresize handling in R/O mode 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 Cc: stable@vger.kernel.org Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed