UBI: dump stack when switching to R/O mode
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 20 May 2011 14:24:34 +0000 (17:24 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 1 Jun 2011 08:23:13 +0000 (11:23 +0300)
If we have debugging enabled and switching to R/O mode because of an error -
dump the stack to improve UBI error reporting and make the further diagnostics
easier to do.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/ubi.h

Simple merge