UBIFS: fix return code in check_leaf
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 7 Dec 2009 13:21:45 +0000 (14:21 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 8 Dec 2009 12:24:00 +0000 (14:24 +0200)
commitb38882f5c066dc681679e90f1903eda323e605b1
treeda9f693c414415c416e69e45bd9379bb27003640
parent6afaf8a484cbbfd2ccf58a4e5396d1f280469789
UBIFS: fix return code in check_leaf

Return the PTR_ERR of the correct pointer. This fixes the debugging code.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/debug.c