UBIFS: print useful debugging messages when cannot recover gc_lnum
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 26 Apr 2011 07:17:00 +0000 (10:17 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 13 May 2011 16:23:56 +0000 (19:23 +0300)
commit6d5904e062d5cb28b705d49a35682e0871b3f382
tree9133ff98bb42d66f950a4a18359e120a552c26da
parentbcdca3e10ac22c208955a63c907a0988550bc666
UBIFS: print useful debugging messages when cannot recover gc_lnum

If we fail to recover the gc_lnum we just return an error and it then
it is difficult to figure out why this happened. This patch adds useful
debugging information which should make it easier to debug the failure.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/recovery.c