Artem Bityutskiy 9516953511 UBIFS: fix error path in dbg_debugfs_init_fs
The debug interface is substandard and on error returns either
NULL or an error code packed in the pointer. So using "IS_ERR"
for the pointers returned by debugfs function is incorrect.
Instead, we should use IS_ERR_OR_NULL.

This path is an improved vestion of the original patch from
Phil Carmody.

Reported-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
2011-04-05 10:46:01 +03:00
..
2008-12-31 14:13:24 +02:00
2011-03-16 14:05:25 +02:00
2009-03-08 13:29:09 +02:00
2010-09-19 21:07:58 +03:00
2011-04-05 10:45:45 +03:00
2010-09-19 21:07:58 +03:00
2011-03-24 16:14:26 +02:00
2011-03-24 16:14:26 +02:00
2011-03-24 16:14:26 +02:00
2010-09-19 21:07:58 +03:00
2011-02-06 15:08:02 +02:00
2011-04-05 10:45:09 +03:00
2008-09-30 11:12:57 +03:00
2011-01-17 23:24:30 +02:00