summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/debug.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-08-18 12:11:42 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-09-04 06:39:01 (GMT)
commitabb3e01103eb4e2ea5c15e6fedbc74e08bd4cc2b (patch)
treea83d9e615df93b083d6018b0bf5dea3f7f25bdf0 /drivers/mtd/ubi/debug.h
parentdb7e21c21f293d52f5363fe8d9ee91d6bd0a503a (diff)
downloadlinux-fsl-qoriq-abb3e01103eb4e2ea5c15e6fedbc74e08bd4cc2b.tar.xz
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 <pali.rohar@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
0 files changed, 0 insertions, 0 deletions