UBI: dump stack when switching to R/O mode
commit2a826061df67f205636b953f58f8bede2a3f009c
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 20 May 2011 14:24:34 +0000 (20 17:24 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 1 Jun 2011 08:23:13 +0000 (1 11:23 +0300)
tree1391834d23c9ac28f78f02e903f74385ad3ad44a
parent01a4110d2b86b05918debf39c50867cbb9598491
UBI: dump stack when switching to R/O mode

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